XRChart.BackColor Property
Gets or sets the chart control’s background color.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.1.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 |
---|---|
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.