XRChart.BackColor Property

Gets or sets the chart control's background color.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatAppearance)]
public override Color BackColor { get; set; }
<SRCategory(ReportStringId.CatAppearance)>
Public Overrides Property BackColor As Color

Property Value

Type Description
Color

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
Note

The XRChart's BackColor property doesn't depend upon the BackColor property of its parent (while this is true for most other report controls - see Appearance Properties). If the BackColor property is set to Empty, it is obtained from a chart's appearance.

See Also