Chart.Compression Property
.NET Framework (current version)
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 Compression As Integer
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.
.NET Framework
Available since 4.0
Available since 4.0
Show: