Class DateTimeCategoryAxis
Represents a specialized axis to plot data with date-time values based on index.
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class DateTimeCategoryAxis : ChartAxis, IThemeElement
Constructors
DateTimeCategoryAxis()
Initializes a new instance of the DateTimeCategoryAxis class.
Declaration
public DateTimeCategoryAxis()
Fields
IntervalProperty
Gets or sets the interval value that represents the number of division required in the DateTimeCategoryAxis
. This is a Bindable property.
Declaration
public static readonly BindableProperty IntervalProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IntervalTypeProperty
Gets or sets the date time unit of the value specified in the Interval
property. This is a Bindable property.
Declaration
public static readonly BindableProperty IntervalTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StripLinesProperty
Gets or sets the collection of strip lines to be added to the chart axis.
Declaration
public static readonly BindableProperty StripLinesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Interval
Gets or sets the value that determines the interval between labels.
Declaration
public Nullable<double> Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | This property takes the double value. |
IntervalType
Gets or sets the value that determines the type of interval to be displayed in axis.
Declaration
public DateTimeIntervalType IntervalType { get; set; }
Property Value
Type | Description |
---|---|
DateTimeIntervalType | This property takes DateTimeIntervalType as value. |
StripLines
Gets or sets a collection of strip lines to be added to the chart axis.
Declaration
public NumericalStripLineCollection StripLines { get; set; }
Property Value
Type | Description |
---|---|
NumericalStripLineCollection | Strip Lines Collection. |
Methods
OnBindingContextChanged()
Override this method to execute an action when the BindingContext changes.
Declaration
protected override void OnBindingContextChanged()
Overrides
OnParentSet()
Declaration
protected override void OnParentSet()