Back to Devexpress

XRChart.BackColor Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-9a2def38.md

latest2.6 KB
Original Source

XRChart.BackColor Property

Gets or sets the chart control’s background color.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Property Value

TypeDescription
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.

WhiteLavenderBlush

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

BackImage

FillStyle

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace