Class DateTimeContinuousAxis
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class DateTimeContinuousAxis : CartesianAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement
Constructors
DateTimeContinuousAxis()
Declaration
public DateTimeContinuousAxis()
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>
|
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
|
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 in combination with the value of the MajorStep determines
the position of the ticks on the axis. The axis will generate the ticks and labels in a way so
that a label would be positioned at the given TickOrigin
.
Declaration
public DateTime? TickOrigin { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Methods
GetLabelCacheKey(AxisLabelModel)
Gets the label cache key.
Declaration
protected override string GetLabelCacheKey(AxisLabelModel label)
Parameters
AxisLabelModel
label
The label. |
Returns
System.String
|
Overrides
GetLocationOfValue(Object)
Gets the location in pixels for the given value along the axis. The method takes into account whether the axis is vertical or horizontal.
Declaration
public override double GetLocationOfValue(object value)
Parameters
System.Object
value
A DateTime value from the axis values range. |
Returns
System.Double
The location in pixels. |
Overrides
GetThemeEffectiveType()
Declaration
public override Type GetThemeEffectiveType()
Returns
System.Type
|