Skip to main content

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