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.1.UI.dll

NuGet Package: DevExpress.Win.Charts


public bool CacheToMemory { get; set; }

Property Value

Type Description

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


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.


The CacheToMemory property has no effect for 3D charts.

See Also