mobilecontrols-devexpress-dot-xamarinforms-dot-charts-e2700ce7.md
Stores bar series appearance settings.
Namespace : DevExpress.XamarinForms.Charts
Assembly : DevExpress.XamarinForms.Charts.dll
NuGet Package : DevExpress.XamarinForms.Charts
public class BarSeriesStyle :
StyleBase
The following members return BarSeriesStyle objects:
This example demonstrates how to customize the bar series appearance (bar color and stroke). To do this, assign the BarSeriesStyle object with the specified settings to the Style property of the bar series.
<dxc:ChartView>
<dxc:ChartView.Series>
<dxc:BarSeries x:Name="barSeries">
<dxc:BarSeries.Style>
<dxc:BarSeriesStyle Fill="MediumSeaGreen" Stroke="SeaGreen" StrokeThickness="10"/>
</dxc:BarSeries.Style>
</dxc:BarSeries>
</dxc:ChartView.Series>
</dxc:ChartView>
using Xamarin.Forms;
using DevExpress.XamarinForms.Charts;
// ...
barSeries.Style = new BarSeriesStyle() {
Fill = Color.MediumSeaGreen,
Stroke = Color.SeaGreen,
StrokeThickness = 10
};
Object ChartElement StyleBase BarSeriesStyle
See Also