Skip to main content
A newer version of this page is available. .

ChartControl.BackColor Property

Gets or sets the chart control’s background color.

Namespace: DevExpress.XtraCharts

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

Declaration

public Color BackColor { get; set; }

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackColor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also