Class DateTimeContinuousAxis
Represents an Axis which plots points along the actual timeline.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class DateTimeContinuousAxis : CartesianAxis, IChartElementPresenterWithMargin, IChartElementPresenter
Constructors
DateTimeContinuousAxis()
Initializes a new instance of the DateTimeContinuousAxis class.
Declaration
public DateTimeContinuousAxis()
Fields
ActualRangeProperty
Identifies the ActualRange dependency property.
Declaration
public static readonly DependencyProperty ActualRangeProperty
Field Value
System.Windows.DependencyProperty
|
ActualVisibleRangeProperty
Identifies the ActualVisibleRange dependency property.
Declaration
public static readonly DependencyProperty ActualVisibleRangeProperty
Field Value
System.Windows.DependencyProperty
|
GapLengthProperty
Identifies the GapLength dependency property.
Declaration
public static readonly DependencyProperty GapLengthProperty
Field Value
System.Windows.DependencyProperty
|
MajorStepProperty
Identifies the MajorStep dependency property.
Declaration
public static readonly DependencyProperty MajorStepProperty
Field Value
System.Windows.DependencyProperty
|
MajorStepUnitProperty
Identifies the MajorStepUnit dependency property.
Declaration
public static readonly DependencyProperty MajorStepUnitProperty
Field Value
System.Windows.DependencyProperty
|
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
System.Windows.DependencyProperty
|
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
System.Windows.DependencyProperty
|
MinorTicksPerMajorProperty
Identifies the MinorTicksPerMajor property.
Declaration
public static readonly DependencyProperty MinorTicksPerMajorProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickStyleProperty
Identifies the MinorTickStyle dependency property.
Declaration
public static readonly DependencyProperty MinorTickStyleProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickTemplateProperty
Identifies the MinorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickTemplateProperty
Field Value
System.Windows.DependencyProperty
|
TickOriginProperty
Identifies the TickOrigin dependency property.
Declaration
public static readonly DependencyProperty TickOriginProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ActualRange
Gets the actual range used by the axis to plot data points.
Declaration
public ValueRange<DateTime> ActualRange { get; }
Property Value
ValueRange<System.DateTime>
|
ActualVisibleRange
Gets the range that is actually visible on the plot area when the chart is zoomed in.
Declaration
public ValueRange<DateTime> ActualVisibleRange { get; }
Property Value
ValueRange<System.DateTime>
|
GapLength
Gets or sets the gap (in the range [0, 1]) to be applied when calculating each plotted ChartSeries position.
Declaration
public double GapLength { get; set; }
Property Value
System.Double
|
MajorStep
Gets or sets the user-defined step between two adjacent ticks on the axis. Specify TimeSpan.Zero to clear the value. If not specified, the step will be automatically determined, depending on the smallest difference between any two dates.
Declaration
public double MajorStep { get; set; }
Property Value
System.Double
|
MajorStepUnit
Gets or sets the unit that defines the custom major step of the axis. If no explicit step is defined, the axis will automatically calculate one, depending on the smallest difference between any two dates.
Declaration
public TimeInterval MajorStepUnit { get; set; }
Property Value
TimeInterval
|
Maximum
Gets or sets the custom maximum of the axis. Specify DateTime.MaxValue to clear the property value so that the maximum is auto-generated.
Declaration
public DateTime Maximum { get; set; }
Property Value
System.DateTime
|
MaximumTicks
Gets or sets the maximum ticks that might be displayed on the axis. This property is useful in some corner cases when ticks may become a really big number.
Declaration
public int MaximumTicks { get; set; }
Property Value
System.Int32
|
Minimum
Gets or sets the custom minimum of the axis. Specify DateTime.MinValue to clear the property value so that the minimum is auto-generated.
Declaration
public DateTime Minimum { get; set; }
Property Value
System.DateTime
|
MinorTickLength
Gets or sets the length of the minor tick.
Declaration
public double MinorTickLength { get; set; }
Property Value
System.Double
|
MinorTickOffset
Gets or sets index-based offset of the first tick to be displayed.
Declaration
public int MinorTickOffset { get; set; }
Property Value
System.Int32
|
MinorTicksPerMajor
Gets or sets the number of minor ticks per major interval.
Declaration
public int MinorTicksPerMajor { get; set; }
Property Value
System.Int32
|
MinorTickStyle
Gets or sets the style for each System.Windows.Shapes.Rectangle instance created to represent a minor tick when no MinorTickTemplate is specified. Creating a System.Windows.Shapes.Rectangle instance per tick instead of a System.Windows.Controls.ContentPresenter gives a huge performance boost.
Declaration
public Style MinorTickStyle { get; set; }
Property Value
System.Windows.Style
|
MinorTickTemplate
Gets or sets the template that defines the appearance of all minor ticks present on the axis.
Declaration
public DataTemplate MinorTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
PlotMode
Gets or sets the mode which determines how points are plotted by this axis.
Declaration
public AxisPlotMode PlotMode { get; set; }
Property Value
AxisPlotMode
|
TickOrigin
Gets or sets a value that indicates where the ticks originate. The position of the ticks is determined based
on the combination of the MajorStep and TickOrigin
values. The axis will
generate the ticks and labels in a way so that a label would be positioned at the given TickOrigin
.
Declaration
public Nullable<DateTime> TickOrigin { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Methods
GetTickTemplate(TickType)
Gets the System.Windows.DataTemplate instance used to visualize the a tick with the specified TickType.
Declaration
protected override DataTemplate GetTickTemplate(TickType tickType)
Parameters
TickType
tickType
|
Returns
System.Windows.DataTemplate
|
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Overrides
Events
ActualRangeChanged
Occurs when the actual range changes.
Declaration
public event EventHandler<DateTimeRangeChangedEventArgs> ActualRangeChanged
Event Type
System.EventHandler<DateTimeRangeChangedEventArgs>
|
ActualVisibleRangeChanged
Occurs when the actual visible range changes.
Declaration
public event EventHandler<DateTimeRangeChangedEventArgs> ActualVisibleRangeChanged
Event Type
System.EventHandler<DateTimeRangeChangedEventArgs>
|