Class DateTimeScale
A graph axis scale that displays dates in chronological order at specific intervals, or base units, even if the dates from the data source are not in order or in the same base units.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class DateTimeScale : Scale
Constructors
DateTimeScale()
Declaration
public DateTimeScale()
Properties
BaseUnit
Gets or sets the base unit for the current DateTimeScale. The base unit defines the interval between the points on the axis. By default the base units are according to the smallest difference between any two dates in the data.
Declaration
public DateTimeScaleUnits BaseUnit { get; set; }
Property Value
CrossAxisPositions
Declaration
public DateTimeScaleCrossAxisPositionCollection CrossAxisPositions { get; }
Property Value
CrossAxisValue
Applied when GraphScaleCrossAxisPosition is set to GraphAxisZeroValueMode.Specific. Zero value is where the other axis crosses the current axis.
Declaration
[Obsolete("The CrossAxisValue property is now obsolete. Please use the CrossAxisPositions property instead.")]
public DateTime CrossAxisValue { get; set; }
Property Value
System.
|
DataPointTicks
Gets or sets a value indicating weather to shows ticks and labels on the axis for every point in the data set instead of regular major ticks.
Declaration
public bool DataPointTicks { get; set; }
Property Value
System.
|
LabelStep
Gets or sets the step/interval between the labels.
In conjunction with the Label
Declaration
public int LabelStep { get; set; }
Property Value
System.
|
LabelUnit
Gets or sets the unit for the interval/step between the labels.
In conjunction with the Label
Declaration
public DateTimeScaleUnits LabelUnit { get; set; }
Property Value
MajorStep
Gets or sets the step/interval between the major ticks/grid lines.
In conjunction with the Major
Declaration
public int MajorStep { get; set; }
Property Value
System.
|
MajorUnit
Gets or sets the unit for the interval/step between the major ticks/grid lines.
In conjunction with the Major
Declaration
public DateTimeScaleUnits MajorUnit { get; set; }
Property Value
Maximum
Gets or sets the maximum value for the current axis.
Declaration
public DateTime? Maximum { get; set; }
Property Value
System. A DateTime value that is the maximum value of the scale's range. The default value is null. |
Remarks
When the Maximum property is set to null (Nothing in Visual Basic) then the maximum value of the scale's range is defined by the data.
In case there are no data points available then the Maximum value is set according to System.
Minimum
Gets or sets the minimum value for the current axis.
Declaration
public DateTime? Minimum { get; set; }
Property Value
System. A DateTime value that is the minimum value of the scale's range. The default value is null. |
Remarks
When the Minimum property is set to null (Nothing in Visual Basic) then the minimum value of the scale's range is defined by the data.
In case there are no data points available then the Minimum value is set according to System.
MinorStep
Gets or sets the step/interval for the minor ticks/grid lines.
In conjunction with the Minor
Declaration
public int MinorStep { get; set; }
Property Value
System.
|
MinorUnit
Gets or sets the unit for the interval/step between the minor ticks/grid lines.
In conjunction with the Minor
Declaration
public DateTimeScaleUnits MinorUnit { get; set; }