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
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
Maximum
The maximum value of the axis.
[TypeConverter(typeof(ConvertibleTypeConverter<DateTime>))]
public DateTime Maximum { get; set; }
Property Value
Minimum
The minimum value of the axis.
[TypeConverter(typeof(ConvertibleTypeConverter<DateTime>))]
public DateTime Minimum { get; set; }
Property Value
SlotInterval
The slot interval for data points of the axis when using slotted layout.
SlotIntervalUnit
The time unit that the SlotInterval represents for data points of the axis when using slotted layout.
TickMajorInterval
The interval at which to display major ticks.
TickMajorIntervalUnit
The unit of time that TickMajorInterval represents.
public TimeUnit TickMajorIntervalUnit { get; set; }
Property Value
See Also
TickMinorInterval
The interval at which to display minor ticks.
TickMinorIntervalUnit
The unit of time that TickMinorInterval represents.
public TimeUnit TickMinorIntervalUnit { get; set; }
Property Value
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
- XYAxisBase.AreLabelsVisibleProperty
- XYAxisBase.BarGroupSpacingProperty
- XYAxisBase.BarSpacingProperty
- XYAxisBase.AreMajorTicksVisibleProperty
- XYAxisBase.AreMinorTicksVisibleProperty
- XYAxisBase.LabelAngleProperty
- XYAxisBase.LabelFormatProperty
- XYAxisBase.LabelStyleProperty
- XYAxisBase.PositionProperty
- XYAxisBase.TickMajorStyleProperty
- XYAxisBase.TickMinorStyleProperty
- XYAxisBase.TitleProperty
- XYAxisBase.TitleStyleProperty
- XYAxisBase.UseDisplayOptimizationsProperty
- XYAxisBase.OnPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
- XYAxisBase.OnApplyTemplate()
- XYAxisBase.AreLabelsVisible
- XYAxisBase.AxisType
- XYAxisBase.BarGroupSpacing
- XYAxisBase.BarSpacing
- XYAxisBase.AreMajorTicksVisible
- XYAxisBase.AreMinorTicksVisible
- XYAxisBase.LabelAngle
- XYAxisBase.LabelFormat
- XYAxisBase.LabelStyle
- XYAxisBase.Position
- XYAxisBase.Ranges
- XYAxisBase.TickMajorStyle
- XYAxisBase.TickMinorStyle
- XYAxisBase.Title
- XYAxisBase.TitleStyle
- XYAxisBase.UseDisplayOptimizations
- XYAxisBase.Refreshed