ChartControl.ClearCache() Method

Releases all memory resources used by the chart to cache its data in case the ChartControl.CacheToMemory is true.

Namespace: DevExpress.XtraCharts

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

Declaration

public void ClearCache()
Public Sub ClearCache

Remarks

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

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

See Also