Class ErrorBarLineStyle
Represent the line style for the ErrorBarSeries
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class ErrorBarLineStyle : ChartLineStyle, IThemeElement
Constructors
ErrorBarLineStyle()
Initializes a new instance of the ErrorBarLineStyle class.
Declaration
public ErrorBarLineStyle()
Fields
StrokeCapProperty
Identifies the StrokeCap bindable property.
Declaration
public static readonly BindableProperty StrokeCapProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the StrokeCap bindable property determines the stroke cap style of the error bar lines.
Properties
StrokeCap
Gets or sets the stroke cap style to customize the stroke cap appearance.
Declaration
public ErrorBarStrokeCap StrokeCap { get; set; }
Property Value
| Type | Description |
|---|---|
| ErrorBarStrokeCap | It accepts ErrorBarStrokeCap values and its defaults value is Flat |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:ErrorBarSeries ItemsSource="{Binding ThermalExpansion}"
XBindingPath="Name"
YBindingPath="Value" />
<chart.ErrorBarSeries.HorizontalLineStyle>
<chart:ErrorBarLineStyle StrokeCap="Round" />
</chart.ErrorBarSeries.HorizontalLineStyle>
</chart:SfCartesianChart>