Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Charts

#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