This documentation is archived and is not being maintained.
Chart::Compression Property
Visual Studio 2010
Gets or sets the amount of compression for the chart image.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[BindableAttribute(true)] [PersistenceModeAttribute(PersistenceMode::Attribute)] public: property int Compression { int get (); void set (int value); }
<asp:Chart Compression="Int32" />
Property Value
Type: System::Int32An integer that represents the amount of compression for the entire chart image.
Compression is expressed as a percentage; for example, to use 50% compression, set this property to 50.
Compression is used for all rendering methods, as determined by the RenderType property, but only for JPEG images, which are specified by the Jpeg enumeration value.
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.
Show: