Skip to main content

ChartControl.BackColor Property

Gets or sets the chart control’s background color.

Namespace: DevExpress.XtraCharts

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

NuGet Package: DevExpress.Win.Charts


public Color BackColor { get; set; }

Property Value

Type Description

A Color value which specifies the chart control’s background color.


The BackColor property specifies the background color of the chart control.

Note that the chart control’s constituent elements such as a diagram or legend have their own background-related properties which when set override the corresponding properties of the chart control.

White LavenderBlush
ChartControl_BackGroundColor-White.gif ChartControl_BackGroundColor-LavenderBlush.gif


using System.Drawing;
chartControl1.BackColor = Color.LavenderBlush;
See Also