Class TimeSpanAxis
Class implementation for TimeSpanAxis
Inheritance
System.Object
TimeSpanAxis
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class TimeSpanAxis : RangeAxisBase, ICloneable, IRangeAxis
Constructors
TimeSpanAxis()
Declaration
Fields
IntervalProperty
The DependencyProperty for Interval property.
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type |
Windows.UI.Xaml.DependencyProperty |
MaximumProperty
The DependencyProperty for Maximum property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type |
Windows.UI.Xaml.DependencyProperty |
MinimumProperty
The DependencyProperty for Minimum property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type |
Windows.UI.Xaml.DependencyProperty |
Properties
Interval
Gets or sets a value that determines the interval between labels. Its nullable.
If this property is not set, interval will be calculated automatically.
Declaration
public object Interval { get; set; }
Property Value
Maximum
Gets or sets the maximum value for the axis range. This is nullable property.
Declaration
public object Maximum { get; set; }
Property Value
Minimum
Gets or sets the minimum value for the timespan axis range. This is nullable property.
Declaration
public object Minimum { get; set; }
Property Value
Methods
ApplyRangePadding(DoubleRange, Double)
Apply padding based on interval
Declaration
protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
Parameters
Type |
Name |
Description |
DoubleRange |
range |
|
System.Double |
interval |
|
Returns
Overrides
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
CalculateActualRange()
Declaration
protected override DoubleRange CalculateActualRange()
Returns
Overrides
CalculateVisibleRange(Size)
Calculates the visible range.
Declaration
protected override void CalculateVisibleRange(Size avalableSize)
Parameters
Type |
Name |
Description |
Windows.Foundation.Size |
avalableSize |
|
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 Generate Labels in ChartAxis
Declaration
protected override void GenerateVisibleLabels()
Overrides
GetLabelContent(Double)
Return Object from the given double value
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 |
|
OnMaximumChanged(DependencyPropertyChangedEventArgs)
Called when Maximum property changed
Declaration
protected virtual void OnMaximumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs |
args |
|
OnMinimumChanged(DependencyPropertyChangedEventArgs)
Method implementation for Minimum property changed
Declaration
protected virtual void OnMinimumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs |
args |
|
Implements
Extension Methods