In This Article

XYDateTimeAxis Class

Represents an axis for data in DateTime format.

public class XYDateTimeAxis : XYAxisBase
Inheritance:
object Visual UIElement FrameworkElement Control XYAxisBase object

Constructors

XYDateTimeAxis()

Initializes an instance of the class.

public XYDateTimeAxis()

Properties

Baseline

The baseline value for the axis.

[TypeConverter(typeof(ConvertibleTypeConverter<DateTime>))]
public DateTime Baseline { get; set; }

Property Value

DateTime

LabelFunc

The function used to determine axis labels. When set, LabelFormat will be ignored. Normally, the first and second parameters of the function will be the value of the axis point represented by the label. When used on the secondary axis on a Bar Series, the first parameter will represent the starting value of a given slot on the axis, and the second parameter will represent the ending value of a given slot on the axis.

public Func<DateTime, DateTime, string>? LabelFunc { get; set; }

Property Value

Func<DateTime, DateTime, string>

Maximum

The maximum value of the axis.

[TypeConverter(typeof(ConvertibleTypeConverter<DateTime>))]
public DateTime Maximum { get; set; }

Property Value

DateTime

Minimum

The minimum value of the axis.

[TypeConverter(typeof(ConvertibleTypeConverter<DateTime>))]
public DateTime Minimum { get; set; }

Property Value

DateTime

SlotInterval

The slot interval for data points of the axis when using slotted layout.

public int SlotInterval { get; set; }

Property Value

int

See Also

SlotIntervalUnit

The time unit that the SlotInterval represents for data points of the axis when using slotted layout.

public TimeUnit SlotIntervalUnit { get; set; }

Property Value

TimeUnit

See Also

TickMajorInterval

The interval at which to display major ticks.

public int TickMajorInterval { get; set; }

Property Value

int

See Also

TickMajorIntervalUnit

The unit of time that TickMajorInterval represents.

public TimeUnit TickMajorIntervalUnit { get; set; }

Property Value

TimeUnit

See Also

TickMinorInterval

The interval at which to display minor ticks.

public int TickMinorInterval { get; set; }

Property Value

int

See Also

TickMinorIntervalUnit

The unit of time that TickMinorInterval represents.

public TimeUnit TickMinorIntervalUnit { get; set; }

Property Value

TimeUnit

See Also

Fields

BaselineProperty

Defines the Baseline property.

public static readonly DependencyProperty BaselineProperty

LabelFuncProperty

Defines the LabelFunc property.

public static readonly DependencyProperty LabelFuncProperty

MaximumProperty

Defines the Maximum property.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Defines the Minimum property.

public static readonly DependencyProperty MinimumProperty

SlotIntervalProperty

Defines the SlotInterval property.

public static readonly DependencyProperty SlotIntervalProperty

SlotIntervalUnitProperty

Defines the SlotIntervalUnit property.

public static readonly DependencyProperty SlotIntervalUnitProperty

TickMajorIntervalProperty

Defines the TickMajorInterval property.

public static readonly DependencyProperty TickMajorIntervalProperty

TickMajorIntervalUnitProperty

Defines the TickMajorIntervalUnit property.

public static readonly DependencyProperty TickMajorIntervalUnitProperty

TickMinorIntervalProperty

Defines the TickMinorInterval property.

public static readonly DependencyProperty TickMinorIntervalProperty

TickMinorIntervalUnitProperty

Defines the TickMinorIntervalUnit property.

public static readonly DependencyProperty TickMinorIntervalUnitProperty

Inherited Members

Extension Methods