ClassDateTimeContinuousAxis
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
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
DependencyProperty
ActualVisibleRangeProperty
Identifies the ActualVisibleRange dependency property.
Declaration
public static readonly DependencyProperty ActualVisibleRangeProperty
Field Value
DependencyProperty
GapLengthProperty
Identifies the GapLength dependency property.
Declaration
public static readonly DependencyProperty GapLengthProperty
Field Value
DependencyProperty
MajorStepProperty
Identifies the MajorStep dependency property.
Declaration
public static readonly DependencyProperty MajorStepProperty
Field Value
DependencyProperty
MajorStepUnitProperty
Identifies the MajorStepUnit dependency property.
Declaration
public static readonly DependencyProperty MajorStepUnitProperty
Field Value
DependencyProperty
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
DependencyProperty
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
DependencyProperty
MinorTickStyleProperty
Identifies the MinorTickStyle dependency property.
Declaration
public static readonly DependencyProperty MinorTickStyleProperty
Field Value
DependencyProperty
MinorTickTemplateProperty
Identifies the MinorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickTemplateProperty
Field Value
DependencyProperty
MinorTicksPerMajorProperty
Identifies the MinorTicksPerMajor property.
Declaration
public static readonly DependencyProperty MinorTicksPerMajorProperty
Field Value
DependencyProperty
TickOriginProperty
Identifies the TickOrigin dependency property.
Declaration
public static readonly DependencyProperty TickOriginProperty
Field Value
DependencyProperty
Properties
ActualRange
Gets the actual range used by the axis to plot data points.
Declaration
public ValueRange<DateTime> ActualRange { get; }
Property Value
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
GapLength
Gets or sets the gap (in the range [0, 1]) to be applied when calculating each plotted ChartSeries position.
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.
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
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
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime Maximum { get; set; }
Property Value
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.
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
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime Minimum { get; set; }
Property Value
MinorTickLength
Gets or sets the length of the minor tick.
MinorTickOffset
Gets or sets index-based offset of the first tick to be displayed.
MinorTickStyle
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.
Declaration
public Style MinorTickStyle { get; set; }
Property Value
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
DataTemplate
MinorTicksPerMajor
Gets or sets the number of minor ticks per major interval.
PlotMode
Gets or sets the mode which determines how points are plotted by this axis.
Declaration
public AxisPlotMode PlotMode { get; set; }
Property Value
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.
Methods
GetTickTemplate(TickType)
Gets the DataTemplate instance used to visualize the a tick with the specified TickType.
Declaration
protected override DataTemplate GetTickTemplate(TickType tickType)
Parameters
tickType
Returns
DataTemplate
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
Events
ActualRangeChanged
Occurs when the actual range changes.
Declaration
public event EventHandler<DateTimeRangeChangedEventArgs> ActualRangeChanged
Event Value
ActualVisibleRangeChanged
Occurs when the actual visible range changes.
Declaration
public event EventHandler<DateTimeRangeChangedEventArgs> ActualVisibleRangeChanged
Event Value