Skip to main content

BarSeriesStyle.StrokeThickness Property

Gets or sets the bar stroke thickness. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

public float StrokeThickness { get; set; }

Property Value

Type Default Description
Single -1

The thickness of a bar stroke, in scale-independent units.

Remarks

To specify the bar stroke color, use the Stroke property.

The resulting stroke thickness can differ on different Android devices. On Android emulators, the stroke thickness is always 1 due to technical limitations.

Example

This example customizes 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 x:Name="barSeries">
          <dxc:BarSeries.Style>
              <dxc:BarSeriesStyle Fill="MediumSeaGreen" Stroke="SeaGreen" StrokeThickness="10"/>
          </dxc:BarSeries.Style>
      </dxc:BarSeries>
  </dxc:ChartView.Series>
</dxc:ChartView>
See Also