Class ChartLineStyle
Serves as a base class for all types of line style class. This class provides options to customize the line by applying stroke color, stroke width, etc.
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class ChartLineStyle : Element, IThemeElement
Constructors
ChartLineStyle()
Initializes a new instance of the ChartLineStyle class.
Declaration
public ChartLineStyle()
Fields
StrokeColorProperty
Gets or sets a stroke color for axis/grid lines. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeDashArrayProperty
Gets or sets the dash array for the line. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeDashArrayProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeWidthProperty
Gets or sets the width of the line. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
StrokeColor
Gets or sets a stroke color for axis/grid lines. This is a bindable property.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Xamarin.Forms.Color value. |
StrokeDashArray
Gets or sets the dash array for the line. This is a bindable property.
Declaration
public double[] StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] | This property takes the double array as its value. |
StrokeWidth
Gets or sets the width of the line. This property is used to change the stroke width of the line. This is a bindable property.
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |