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.HardwareAcceleration Property

Gets or sets a value indicating whether a ChartControl uses a Video Card’s resources (if any are available) when drawing 3D-charts.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.UI.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

public bool HardwareAcceleration { get; set; }

#Property Value

Type Description
Boolean

true if hardware acceleration is enabled; otherwise, false.

#Remarks

Since the XtraCharts 3D-engine is based on the OpenGL technology, by default a ChartControl uses a Video Card’s OpenGL implementation (shipped with a Video Card by its vendor) to better use a card’s resources when drawing 3D-charts. In this case, the HardwareAcceleration property should be set to true.

If you don’t want a ChartControl to use a Video Card’s OpenGL implementation (e.g. if a 3D chart isn’t drawn correctly), set the HardwareAcceleration property to false. This forces a ChartControl to use the Microsoft OpenGL implementation shipped with your Microsoft Windows version. Note that in this case a 3D chart may be painted more slowly because drawing it consumes processor resources.

See Also