The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRChart.BackColor Property

Gets or sets the chart control's background color.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

[SRCategory(ReportStringId.CatAppearance)]
[Browsable(true)]
public override Color BackColor { get; set; }
<SRCategory(ReportStringId.CatAppearance)>
<Browsable(True)>
Public Overrides 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
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