Export (0) Print
Expand All

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)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public RenderType RenderType { get; set; }
<asp:Chart RenderType="RenderType" />

Property Value

Type: System.Web.UI.DataVisualization.Charting.RenderType
A RenderType enumeration value that represents the rendering method used to display a chart image.

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.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft