Skip to main content

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.v24.2.UI.dll

Declaration

public bool CacheToMemory { get; set; }

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