Represents an Axis which plots points along the actual timeline.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class DateTimeContinuousAxis : CartesianAxis, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterAxisLineAxisCartesianAxisDateTimeContinuousAxis...
Implements:
Inherited Members
Constructors
Initializes a new instance of the DateTimeContinuousAxis class.
public DateTimeContinuousAxis()
Fields
ActualRangeProperty
DependencyProperty
Identifies the ActualRange dependency property.
public static readonly DependencyProperty ActualRangeProperty
ActualVisibleRangeProperty
DependencyProperty
Identifies the ActualVisibleRange dependency property.
public static readonly DependencyProperty ActualVisibleRangeProperty
GapLengthProperty
DependencyProperty
Identifies the GapLength dependency property.
public static readonly DependencyProperty GapLengthProperty
MajorStepProperty
DependencyProperty
Identifies the MajorStep dependency property.
public static readonly DependencyProperty MajorStepProperty
MajorStepUnitProperty
DependencyProperty
Identifies the MajorStepUnit dependency property.
public static readonly DependencyProperty MajorStepUnitProperty
MaximumProperty
DependencyProperty
Identifies the Maximum dependency property.
public static readonly DependencyProperty MaximumProperty
MinimumProperty
DependencyProperty
Identifies the Minimum dependency property.
public static readonly DependencyProperty MinimumProperty
MinorTicksPerMajorProperty
DependencyProperty
Identifies the MinorTicksPerMajor property.
public static readonly DependencyProperty MinorTicksPerMajorProperty
MinorTickStyleProperty
DependencyProperty
Identifies the MinorTickStyle dependency property.
public static readonly DependencyProperty MinorTickStyleProperty
MinorTickTemplateProperty
DependencyProperty
Identifies the MinorTickTemplate dependency property.
public static readonly DependencyProperty MinorTickTemplateProperty
TickOriginProperty
DependencyProperty
Identifies the TickOrigin dependency property.
public static readonly DependencyProperty TickOriginProperty
Properties
Gets the actual range used by the axis to plot data points.
public ValueRange<DateTime> ActualRange { get; }
Gets the range that is actually visible on the plot area when the chart is zoomed in.
public ValueRange<DateTime> ActualVisibleRange { get; }
Gets or sets the gap (in the range [0, 1]) to be applied when calculating each plotted ChartSeries position.
public double GapLength { get; set; }
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.
public double MajorStep { get; set; }
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.
public TimeInterval MajorStepUnit { get; set; }
Gets or sets the custom maximum of the axis. Specify DateTime.MaxValue to clear the property value so that the maximum is auto-generated.
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime Maximum { get; set; }
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.
public int MaximumTicks { get; set; }
Gets or sets the custom minimum of the axis. Specify DateTime.MinValue to clear the property value so that the minimum is auto-generated.
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime Minimum { get; set; }
Gets or sets the length of the minor tick.
public double MinorTickLength { get; set; }
Gets or sets index-based offset of the first tick to be displayed.
public int MinorTickOffset { get; set; }
Gets or sets the number of minor ticks per major interval.
public int MinorTicksPerMajor { get; set; }
MinorTickStyle
Style
Gets or sets the style for each Rectangle instance created to represent a minor tick when no MinorTickTemplate is specified. Creating a Rectangle instance per tick instead of a ContentPresenter gives a huge performance boost.
public Style MinorTickStyle { get; set; }
MinorTickTemplate
DataTemplate
Gets or sets the template that defines the appearance of all minor ticks present on the axis.
public DataTemplate MinorTickTemplate { get; set; }
Gets or sets the mode which determines how points are plotted by this axis.
public AxisPlotMode PlotMode { get; set; }
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.
public DateTime? TickOrigin { get; set; }
Methods
GetTickTemplate(TickType)
DataTemplate
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Events
Occurs when the actual range changes.
public event EventHandler<DateTimeRangeChangedEventArgs> ActualRangeChanged
Occurs when the actual visible range changes.
public event EventHandler<DateTimeRangeChangedEventArgs> ActualVisibleRangeChanged