Chart.Compression Property

Definition

Gets or sets the amount of compression for the chart image.

C#
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public int Compression { get; set; }

Property Value

An integer that represents the amount of compression for the entire chart image.

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1