Class TimeSpanAxis3D
Class implementation for TimeSpanAxis
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class TimeSpanAxis3D : RangeAxisBase3D, ICloneable, IRangeAxis
Constructors
TimeSpanAxis3D()
Declaration
public TimeSpanAxis3D()
Fields
IntervalProperty
The DependencyProperty for Interval property.
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximumProperty
The DependencyProperty for Minimum property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinimumProperty
The DependencyProperty for Minimum property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Interval
Gets or sets a value that determines the interval between labels. Its null-able. If this property is not set, interval will be calculated automatically.
Declaration
public TimeSpan? Interval { get; set; }
Property Value
Type |
---|
System.Nullable<System.TimeSpan> |
Maximum
Gets or sets the maximum value for the axis range. This is null-able property.
Declaration
public TimeSpan? Maximum { get; set; }
Property Value
Type |
---|
System.Nullable<System.TimeSpan> |
Remarks
If we didn't set the maximum value, it will be calculate from the underlying collection.
Minimum
Gets or sets the minimum value for the timespan axis range. This is null-able property.
Declaration
public TimeSpan? Minimum { get; set; }
Property Value
Type |
---|
System.Nullable<System.TimeSpan> |
Remarks
If we didn't set the minimum value, it will be calculate from the underlying collection.
Methods
ApplyRangePadding(DoubleRange, Double)
Apply padding based on interval.
Declaration
protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | range | The Range |
System.Double | interval | The Interval |
Returns
Type | Description |
---|---|
DoubleRange | Returns the padded range. |
Overrides
CalculateActualInterval(DoubleRange, Size)
Calculates the actual interval.
Declaration
protected override double CalculateActualInterval(DoubleRange range, Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | range | The Range |
System.Windows.Size | availableSize | The Available Size |
Returns
Type | Description |
---|---|
System.Double | The calculated actual interval. |
Overrides
CalculateActualRange()
Calculates actual range.
Declaration
protected override DoubleRange CalculateActualRange()
Returns
Type | Description |
---|---|
DoubleRange | Returns the actual range. |
Overrides
CloneAxis(DependencyObject)
Clones the TimeSpanAxis3D.
Declaration
protected override DependencyObject CloneAxis(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The Object |
Returns
Type | Description |
---|---|
System.Windows.DependencyObject | Returns the cloned TimeSpanAxis3D. |
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 | The Position |
Returns
Type | Description |
---|---|
System.Object | The label content. |
Overrides
OnIntervalChanged(DependencyPropertyChangedEventArgs)
Called when Interval property changed
Declaration
protected virtual void OnIntervalChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The Event Arguments |
OnMaximumChanged(DependencyPropertyChangedEventArgs)
Called when Maximum property changed
Declaration
protected virtual void OnMaximumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The Event Arguments |
OnMinimumChanged(DependencyPropertyChangedEventArgs)
Method implementation for Minimum property changed
Declaration
protected virtual void OnMinimumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The Event Arguments |