windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-1fa02412.md
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.v25.2.UI.dll
NuGet Package : DevExpress.Win.Charts
public bool HardwareAcceleration { get; set; }
Public Property HardwareAcceleration As Boolean
| Type | Description |
|---|---|
| Boolean |
true if hardware acceleration is enabled; otherwise, false.
|
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