Class DateTimeStripLine
The DateTimeStripLine class can be used to render strip lines using DateTime values. This should be used with DateTimeAxis.
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class DateTimeStripLine : ChartStripLine, IThemeElement
Remarks
Examples
DateTimeAxis axis = new DateTimeAxis();
DateTimeStripLine strip = new DateTimeStripLine();
strip.Start = new DateTime(2000, 01, 01);
strip.Width = 2;
axis.StripLines.Add(strip);
Constructors
DateTimeStripLine()
Declaration
public DateTimeStripLine()
Fields
RepeatEveryTypeProperty
Gets or sets the date time unit of the value specified in the RepeatEvery
property. This is a bindable property.
Declaration
public static readonly BindableProperty RepeatEveryTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
RepeatUntilProperty
Gets or sets the axis value that determines till where the strip line has to be repeated in axis. This is a bindable property.
Declaration
public static readonly BindableProperty RepeatUntilProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StartProperty
Gets or sets the axis value that represents, from where the strip line should start in axis. This is a bindable property.
Declaration
public static readonly BindableProperty StartProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WidthTypeProperty
Gets or sets the date time unit of the value specified in the Width
property. This is a bindable property.
Declaration
public static readonly BindableProperty WidthTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
RepeatEveryType
Gets or sets the date time unit of the value specified in the RepeatEvery
property. This is a bindable property.
Declaration
public DateTimeComponent RepeatEveryType { get; set; }
Property Value
Type | Description |
---|---|
DateTimeComponent | This property takes the DateTimeIntervalType value. |
RepeatUntil
Gets or sets the axis value that determines till where the strip line has to be repeated in axis. This is a bindable property.
Declaration
public Nullable<DateTime> RepeatUntil { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | This property takes System.DateTime as its value. |
Start
Gets or sets the axis value that represents, from where the strip line should start in axis. This is a bindable property.
Declaration
public Nullable<DateTime> Start { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | This property takes System.DateTime as its value. |
WidthType
Gets or sets the date time unit of the value specified in the Width
property. This is a bindable property.
Declaration
public DateTimeComponent WidthType { get; set; }
Property Value
Type | Description |
---|---|
DateTimeComponent | This property takes the DateTimeIntervalType value. |