Chart.ImageStorageMode Property (System.Web.UI.DataVisualization.Charting)

Switch View :
ScriptFree
.NET Framework Class Library
Chart.ImageStorageMode Property

Gets or sets the chart rendering type.

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

Visual Basic
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
<BindableAttribute(True)> _
Public Property ImageStorageMode As ImageStorageMode
	Get
	Set
C#
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[BindableAttribute(true)]
public ImageStorageMode ImageStorageMode { get; set; }
Visual C++
[PersistenceModeAttribute(PersistenceMode::Attribute)]
[BindableAttribute(true)]
public:
property ImageStorageMode ImageStorageMode {
	ImageStorageMode get ();
	void set (ImageStorageMode value);
}
F#
[<PersistenceModeAttribute(PersistenceMode.Attribute)>]
[<BindableAttribute(true)>]
member ImageStorageMode : ImageStorageMode with get, set

ASP.NET
<asp:Chart ImageStorageMode="ImageStorageMode" />
Remarks

This property defines the type of storage used to render chart images. See ImageStorageMode for options.

Version Information

.NET Framework

Supported in: 4
Platforms

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.
See Also

Reference

Community Content

Mark Moeykens
HTML Syntax Not Correct
That HTML syntax example shown above is not entirely correct. What they show as the value is the name of the enumeration.
The only two possible values can be:

<asp:Chart ImageStorageMode="UseImageLocation" />
<asp:Chart ImageStorageMode="UseHttpHandler" />

If your chart disappears after refreshing your page, try using "UseImageLocation".