Class ErrorBarCapLineStyle
Represents the cap style for the ErrorBarSeries
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class ErrorBarCapLineStyle : ChartLineStyle, IThemeElement
Constructors
ErrorBarCapLineStyle()
Initializes a new instance of the ErrorBarCapLineStyle class.
Declaration
public ErrorBarCapLineStyle()
Fields
CapLineSizeProperty
Identifies the CapLineSize bindable property.
Declaration
public static readonly BindableProperty CapLineSizeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the CapLineSize bindable property determines the size of the cap lines in the error bar.
IsVisibleProperty
Identifies the IsVisible bindable property.
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the IsVisible bindable property determines the visibility of the cap lines in the error bar.
Properties
CapLineSize
Gets or sets the stroke cap size at the end of the error bar line.
Declaration
public double CapLineSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts System.Double values, and the default value is 10. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:ErrorBarSeries ItemsSource="{Binding ThermalExpansion}"
XBindingPath="Name"
YBindingPath="Value" />
<chart.ErrorBarSeries.HorizontalCapLineStyle>
<chart:ErrorBarCapLineStyle CapLineSize="15" />
</chart.ErrorBarSeries.HorizontalCapLineStyle>
</chart:SfCartesianChart>
IsVisible
Gets or sets the stroke cap visibility to customize the stroke cap appearance.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It accepts System.Boolean, and the default is true |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:ErrorBarSeries ItemsSource="{Binding ThermalExpansion}"
XBindingPath="Name"
YBindingPath="Value" />
<chart.ErrorBarSeries.HorizontalCapLineStyle>
<chart:ErrorBarCapLineStyle IsVisible="False" />
</chart.ErrorBarSeries.HorizontalCapLineStyle>
</chart:SfCartesianChart>