BootstrapChartCommonSeriesBase.Color Property
Specifies the series color.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
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:
See Also