Back to Devexpress

ChartControl.ClearCache() Method

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-fe211103.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public void ClearCache()
vb
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

CacheToMemory

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace