This documentation is archived and is not being maintained.

Chart.RenderType Property

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

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public RenderType RenderType { get; set; }
<asp:Chart RenderType="RenderType" />

Property Value

Type: System.Web.UI.DataVisualization.Charting.RenderType
A RenderType enumeration value.

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.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.