Class DateTimeCategoryAxis
Represents a DateTime indexed axis.
Inheritance
System.Object
DateTimeCategoryAxis
Assembly: Syncfusion.SfChart.WPF.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 |
System.Windows.DependencyProperty |
IntervalTypeProperty
Declaration
public static readonly DependencyProperty IntervalTypeProperty
Field Value
Type |
System.Windows.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 |
|
System.Windows.Size |
availableSize |
|
Returns
Overrides
CalculateNiceInterval(DoubleRange, Size)
Declaration
protected override double CalculateNiceInterval(DoubleRange actualRange, Size availableSize)
Parameters
Type |
Name |
Description |
DoubleRange |
actualRange |
|
System.Windows.Size |
availableSize |
|
Returns
Overrides
CloneAxis(DependencyObject)
Declaration
protected override DependencyObject CloneAxis(DependencyObject obj)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
Returns
Type |
System.Windows.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 |
System.Windows.DependencyPropertyChangedEventArgs |
e |
|
Implements
See Also