Skip to main content
A newer version of this page is available. .

BarSeriesStyle Class

Stores bar series appearance settings.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

Declaration

public class BarSeriesStyle :
    StyleBase

The following members return BarSeriesStyle objects:

Example

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.

Bar Series Style

<dxc:ChartView>
  <dxc:ChartView.Series>
      <dxc:BarSeries>
          <dxc:BarSeries.Style>
              <dxc:BarSeriesStyle Fill="MediumSeaGreen" Stroke="SeaGreen" StrokeThickness="10"/>
          </dxc:BarSeries.Style>
      </dxc:BarSeries>
  </dxc:ChartView.Series>
</dxc:ChartView>

Inheritance

Object
Xamarin.Forms.BindableObject
ChartElement
StyleBase
BarSeriesStyle
See Also