Class ErrorBarCapLineStyle
Represents the cap style for the ErrorBarSeries
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.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 |
IsVisibleProperty
Identifies the IsVisible bindable property.
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
CapLineSize
Gets or sets the stroke cap size to customize the size of the stroke caps.
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>