Class SFDateTimeAxis
Represents a specialized axis to plot data with date time values.
This class contains properties to customize grid lines, ticks and labels.
Ranges can be explicitly set using Minimum and Maximum properties.
If the ranges are not specified, nice range and intervals will be calculated
automatically.
Inheritance
System.Object
SFDateTimeAxis
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFDateTimeAxis : SFRangeAxisBase
Constructors
SFDateTimeAxis()
Declaration
Properties
ActualIntervalType
Declaration
public SFChartDateTimeIntervalType ActualIntervalType { get; }
Property Value
Gets or sets the date time unit of the value specified in the AutoScrollingDelta
property.
Declaration
public SFChartDateTimeDeltaType AutoScrollingDeltaType { get; set; }
Property Value
IntervalType
Gets or sets the date time unit of the value specified in the Interval
property.
Declaration
public SFChartDateTimeIntervalType IntervalType { get; set; }
Property Value
RangePadding
Gets or sets a padding type for the date time axis range.
Declaration
public SFChartDateTimePadding RangePadding { get; set; }
Property Value
StripLines
Gets or sets the collection of strip lines to be added to the chart axis.
Declaration
public DateTimeStripLinesCollection StripLines { get; set; }
Property Value
Methods
AddSmallTicksPoint(Double, Double)
Declaration
protected override void AddSmallTicksPoint(double position, double interval)
Parameters
Type |
Name |
Description |
System.Double |
position |
|
System.Double |
interval |
|
Overrides
ApplyRangePadding(DoubleRange, Double)
Declaration
protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
Parameters
Type |
Name |
Description |
DoubleRange |
range |
|
System.Double |
interval |
|
Returns
Overrides
CalculateActualInterval(DoubleRange, SizeF)
Declaration
protected override double CalculateActualInterval(DoubleRange range, SizeF availableSize)
Parameters
Type |
Name |
Description |
DoubleRange |
range |
|
System.Drawing.SizeF |
availableSize |
|
Returns
Overrides
CalculateActualRange()
Declaration
protected override DoubleRange CalculateActualRange()
Returns
Overrides
CalculateNiceInterval(DoubleRange, SizeF)
Declaration
protected override double CalculateNiceInterval(DoubleRange actualRange, SizeF availableSize)
Parameters
Type |
Name |
Description |
DoubleRange |
actualRange |
|
System.Drawing.SizeF |
availableSize |
|
Returns
Overrides
CalculateVisibleRange(SizeF)
Declaration
protected override void CalculateVisibleRange(SizeF availableSize)
Parameters
Type |
Name |
Description |
System.Drawing.SizeF |
availableSize |
|
Overrides
GenerateVisibleLabels()
Declaration
protected override void GenerateVisibleLabels()
Overrides