Dundas Chart for ASP.NET
RenderType Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class : RenderType Property


Gets or sets the rendering method used to display a chart image.


Chart rendering type. Image tag, input tag, binary data streaming and image map are the options.

Syntax

Visual Basic (Declaration)  
Public Property RenderType As RenderType
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As RenderType
 
instance.RenderType = value
 
value = instance.RenderType
C#  
public RenderType RenderType {get; set;}

Return Value

A RenderType integer enumeration.

Remarks

The following describes the ways by which a chart image can be rendered:

  1. The "Image Tag" type results in a temporary file saved to disk at the server, and the chart is displayed at the client using an <IMG> tag with its SRC attribute set to the URL specified by the ImageUrl property.
     
  2. The "Input Tag" type also results in a temporary file saved to disk at the server, and the chart is displayed at the client using an <INPUT> tag with its SRC attribute set to the URL specified by the ImageUrl property. Note that this mode should only be used if you want to use the chart's Click event.
     
  3. With "Binary Streaming" there are no temporary image files at the server, instead the chart image is sent as a binary stream, and is displayed using an <IMG> tag with its SRC attribute set to another .aspx page that is responsible for generating the chart image.
     
  4. A rendering type of RenderType.ImageMap results in an image map being created, and DOES NOT result in an actual chart image being displayed. This should only be used when using an image map with a rendering type of "binary streaming". For more information on how to accomplish this see the Binary Streaming and Image Maps topic.  

For a complete discussion of chart rendering see the Rendering Methods topic.

Note that you can control how temporary image files are saved to disk using the ImageUrl property. For more information see the Image File Management topic.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.