ChartControl.BackColor Property

Gets or sets the chart control's background color.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.UI.dll

Declaration

public Color BackColor { get; set; }
Public Property BackColor As Color

Property Value

Type Description
Color

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

Remarks

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

Example

using System.Drawing;
//...
chartControl1.BackColor = Color.LavenderBlush;

Implements

DevExpress.Utils.DirectXPaint.IDirectXClient.BackColor
See Also