Back to Devexpress

ChartControl.HardwareAcceleration Property

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-1fa02412.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public bool HardwareAcceleration { get; set; }
vb
Public Property HardwareAcceleration As Boolean

Property Value

TypeDescription
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

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace