Class DateTimeCategoryAxis
Represents a DateTime indexed axis.
Inheritance
System.Object
DateTimeCategoryAxis
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class DateTimeCategoryAxis : ChartAxisBase2D, ICloneable
Constructors
DateTimeCategoryAxis()
Declaration
public DateTimeCategoryAxis()
Fields
IntervalProperty
The DependencyProperty for Interval property.
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type |
Windows.UI.Xaml.DependencyProperty |
IntervalTypeProperty
Declaration
public static readonly DependencyProperty IntervalTypeProperty
Field Value
Type |
Windows.UI.Xaml.DependencyProperty |
Properties
Interval
Gets or sets a value that determines the interval between labels.
If this property is not set, interval will be calculated automatically.
Declaration
public double Interval { get; set; }
Property Value
IntervalType
Gets or sets the type of interval to be displayed in axis.
Declaration
public DateTimeIntervalType IntervalType { get; set; }
Property Value
Methods
CalculateActualInterval(DoubleRange, Size)
Calculates actual interval
Declaration
protected override double CalculateActualInterval(DoubleRange range, Size availableSize)
Parameters
Type |
Name |
Description |
DoubleRange |
range |
|
Windows.Foundation.Size |
availableSize |
|
Returns
Overrides
CalculateNiceInterval(DoubleRange, Size)
Declaration
protected override double CalculateNiceInterval(DoubleRange actualRange, Size availableSize)
Parameters
Type |
Name |
Description |
DoubleRange |
actualRange |
|
Windows.Foundation.Size |
availableSize |
|
Returns
Overrides
CloneAxis(DependencyObject)
Declaration
protected override DependencyObject CloneAxis(DependencyObject obj)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.DependencyObject |
obj |
|
Returns
Type |
Windows.UI.Xaml.DependencyObject |
Overrides
GenerateVisibleLabels()
Method implementation for Create VisibleLabels for DateTime axis
Declaration
protected override void GenerateVisibleLabels()
Overrides
GetLabelContent(Double)
Method implementation for Get LabelContent for given position
Declaration
public override object GetLabelContent(double position)
Parameters
Type |
Name |
Description |
System.Double |
position |
|
Returns
Overrides
OnIntervalChanged(DependencyPropertyChangedEventArgs)
Called when Interval property changed
Declaration
protected virtual void OnIntervalChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs |
e |
|
Implements
Extension Methods
See Also