ChartControl.CacheToMemory Property

Gets or sets a value indicating if the chart should cache its data to the system memory.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.UI.dll

Declaration

public bool CacheToMemory { get; set; }
Public Property CacheToMemory As Boolean

Property Value

Type Description
Boolean

true if the chart should cache its data to the memory; otherwise, false.

Remarks

Use the CacheToMemory property to increase the performance of the ChartControl, in case it maintains a large amount of data. Note that if the CacheToMemory property is set to true, the memory usage may increase greatly.

If you occasionally need to free the memory used by the ChartControl to cache its data, call the ChartControl.ClearCache method.

NOTE

The CacheToMemory property has no effect for 3D charts.

See Also