Chart.RenderType Property

Definition

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

public:
 property System::Web::UI::DataVisualization::Charting::RenderType RenderType { System::Web::UI::DataVisualization::Charting::RenderType get(); void set(System::Web::UI::DataVisualization::Charting::RenderType value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.RenderType RenderType { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.RenderType : System.Web.UI.DataVisualization.Charting.RenderType with get, set
Public Property RenderType As RenderType

Property Value

A RenderType enumeration value that represents the rendering method used to display a chart image.

Attributes

Remarks

The following list describes the three ways in which a chart image can be rendered:

  • The ImageTag render type causes a temporary file to be saved to disk at the server. The chart is displayed at the client side using an <IMG> tag, with its SRC attribute set to the URL specified by the ImageLocation property.

  • If the BinaryStreaming render type is specified, 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.

  • A render type of ImageMap causes an image map to be created, but does not result in the display of an actual chart image. This option should only be taken when using an image map that has a render type of BinaryStreaming.

Note that you can control how temporary image files are saved to disk using the ImageLocation property.

Applies to