In This Article

XYDateTimeAxis Class

Represents an axis for data in DateTime format.

public class XYDateTimeAxis : XYAxisBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IRefreshable
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control XYAxisBase Object

Constructors

XYDateTimeAxis()

Creates a new XYDateTimeAxis.

public XYDateTimeAxis()

Properties

Baseline

The baseline value for the axis.

public DateTime Baseline { get; set; }

Property Value

DateTime

LabelFunc

Gets or sets 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>:

The function used to determine axis labels.

Maximum

The maximum value of the axis.

public DateTime Maximum { get; set; }

Property Value

DateTime

Minimum

The minimum value of the axis.

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

Int32

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

Int32

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

Int32

See Also

TickMinorIntervalUnit

The unit of time that TickMinorInterval represents.

public TimeUnit TickMinorIntervalUnit { get; set; }

Property Value

TimeUnit

See Also

Fields

BaselineProperty

Identifies the Baseline dependency property. This field is read-only.

public static readonly DependencyProperty BaselineProperty

LabelFuncProperty

Identifies the LabelFunc dependency property. This field is read-only.

public static readonly DependencyProperty LabelFuncProperty

MaximumProperty

Identifies the Maximum dependency property. This field is read-only.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Identifies the Minimum dependency property. This field is read-only.

public static readonly DependencyProperty MinimumProperty

SlotIntervalProperty

Identifies the SlotInterval dependency property. This field is read-only.

public static readonly DependencyProperty SlotIntervalProperty

SlotIntervalUnitProperty

Identifies the SlotIntervalUnit dependency property. This field is read-only.

public static readonly DependencyProperty SlotIntervalUnitProperty

TickMajorIntervalProperty

Identifies the TickMajorInterval dependency property. This field is read-only.

public static readonly DependencyProperty TickMajorIntervalProperty

TickMajorIntervalUnitProperty

Identifies the TickMajorIntervalUnit dependency property. This field is read-only.

public static readonly DependencyProperty TickMajorIntervalUnitProperty

TickMinorIntervalProperty

Identifies the TickMinorInterval dependency property. This field is read-only.

public static readonly DependencyProperty TickMinorIntervalProperty

TickMinorIntervalUnitProperty

Identifies the TickMinorIntervalUnit dependency property. This field is read-only.

public static readonly DependencyProperty TickMinorIntervalUnitProperty

Inherited Members

Extension Methods