Class ChartStripLine
Serves as a base class for all types of strip line. This class provides options to customize the appearance of strip lines.
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public abstract class ChartStripLine : Element, IThemeElement
Constructors
ChartStripLine()
Initializes a new instance of the ChartStripLine class.
Declaration
public ChartStripLine()
Fields
FillColorProperty
Gets or sets the color of the strip line. This is a bindable property.
Declaration
public static readonly BindableProperty FillColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsPixelWidthProperty
Gets or sets the value that indicates whether the value specified in Width
property should be considered as screen points or axis range.
This is a bindable property.
Declaration
public static readonly BindableProperty IsPixelWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsSegmentedProperty
Gets or sets the value that indicates whether the strip line is segmented or not. This is a bindable property.
Declaration
public static readonly BindableProperty IsSegmentedProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsVisibleProperty
Gets or sets the value that indicates whether the strip line is visible in the axis. This is a bindable property.
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LabelStyleProperty
Gets or sets the customized style for the axis labels. This is a bindable property.
Declaration
public static readonly BindableProperty LabelStyleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
RepeatEveryProperty
Gets or sets the frequency of the strip lines. This is a bindable property.
Declaration
public static readonly BindableProperty RepeatEveryProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SegmentAxisNameProperty
Gets or sets the name of the segment axis for the strip line. This is a bindable property.
Declaration
public static readonly BindableProperty SegmentAxisNameProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SegmentEndProperty
Gets or sets the end value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public static readonly BindableProperty SegmentEndProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SegmentStartProperty
Gets or sets the start value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public static readonly BindableProperty SegmentStartProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeColorProperty
Gets or sets the stroke color of the strip line. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeWidthProperty
Gets or sets the width of the strip line. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextProperty
Gets or sets the text to be displayed on the strip line. This is a bindable property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WidthProperty
Gets or sets the width of the strip line, which is considered as screen points or axis range, based on IsPixedWidth
property. This is a bindable property.
Declaration
public static readonly BindableProperty WidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
FillColor
Gets or sets the color of the strip line. This is a bindable property.
Declaration
public Color FillColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Color value. |
IsPixelWidth
Gets or sets a value indicating whether the value of Width
property should be considered as screen points or axis range.
This is a bindable property.
Declaration
public bool IsPixelWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | This property take |
IsSegmented
Gets or sets a value indicating whether the strip line is segmented or not. This is a bindable property.
Declaration
public bool IsSegmented { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | This property take |
IsVisible
Gets or sets a value indicating whether the strip line is visible in the axis. This is a bindable property.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | This property takes the boolean value. |
LabelStyle
Gets or sets the customized style for the axis labels. This is a bindable property.
Declaration
public ChartStripLineLabelStyle LabelStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartStripLineLabelStyle | This property takes the ChartStripLineLabelStyle as its value. |
RepeatEvery
Gets or sets the frequency of the strip lines. This is a bindable property.
Declaration
public double RepeatEvery { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
SegmentAxisName
Gets or sets the name of the segment axis for the strip line. This is a bindable property.
Declaration
public string SegmentAxisName { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the string value. |
SegmentEnd
Gets or sets the end value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public object SegmentEnd { get; set; }
Property Value
Type | Description |
---|---|
System.Object | This property takes the object value. |
SegmentStart
Gets or sets the start value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public object SegmentStart { get; set; }
Property Value
Type | Description |
---|---|
System.Object | This property takes the object value. |
StrokeColor
Gets or sets the stroke color of the strip line. This is a bindable property.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Color value. |
StrokeWidth
Gets or sets the width of the strip line. This is a bindable property.
Declaration
public float StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single | This property takes the float value. |
Text
Gets or sets the text to be displayed on the strip line. This is a bindable property.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the string value. |
Width
Gets or sets the width of the strip line, which is considered as screen points or axis range, based on IsPixedWidth
property. This is a bindable property.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the double value. |
Methods
OnBindingContextChanged()
Override this method to execute an action when the BindingContext changes.
Declaration
protected override void OnBindingContextChanged()
OnParentSet()
Declaration
protected override void OnParentSet()