XYDateTimeAxis Class
Represents an axis for data in System.DateTime format.
public class XYDateTimeAxis : XYAxisBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IRefreshable
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.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
- System.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
- System.Func<System.DateTime, System.DateTime, System.String>:
The function used to determine axis labels.
Maximum
The maximum value of the axis.
public DateTime Maximum { get; set; }
Property Value
- System.DateTime
Minimum
The minimum value of the axis.
public DateTime Minimum { get; set; }
Property Value
- System.DateTime
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.
public int TickMajorInterval { get; set; }
Property Value
- System.Int32
See Also
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.
public int TickMinorInterval { get; set; }
Property Value
- System.Int32
See Also
TickMinorIntervalUnit
The unit of time that TickMinorInterval represents.
public TimeUnit TickMinorIntervalUnit { get; set; }
Property Value
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
- 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
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()