Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRChart.BackColor Property

Gets or sets the chart control’s background color.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[SRCategory(ReportStringId.CatAppearance)]
[Browsable(true)]
public override 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

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