BootstrapChartCommonSeriesBase.Color Property

Specifies the series color.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.2.dll

Declaration

[DefaultValue(typeof(Color), "")]
public Color Color { get; set; }
<DefaultValue(GetType(Color), "")>
Public Property Color As Color

Property Value

Type Default Description
Color

String.Empty

A Color value.

Remarks

The markup sample below demonstrates how to explicitly specify series colors.


<dx:BootstrapChart ID="Chart" runat="server" >
    <SeriesCollection>
        <dx:BootstrapChartBarSeries ValueField="UnitsInStock" Name="Units in stock" Color="YellowGreen" />
        <dx:BootstrapChartBarSeries ValueField="UnitsOnOrder" Name="Units on order" Color="Orange" />
    </SeriesCollection>
...
 </dx:BootstrapChart>

Result:

BootstrapCharts_SeriesColor

See Also