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
DateTimeScaleUnits
|
CrossAxisPositions
Declaration
public DateTimeScaleCrossAxisPositionCollection CrossAxisPositions { get; }
Property Value
DateTimeScaleCrossAxisPositionCollection
|
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.DateTime
|
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.Boolean
|
LabelStep
Gets or sets the step/interval between the labels. In conjunction with the LabelUnit property defines the interval between the labels on the axis, ex.: 1 day, 3 months, 1 year. The property is applied only when LabelUnit is set to a value other than Auto.
Declaration
public int LabelStep { get; set; }
Property Value
System.Int32
|
LabelUnit
Gets or sets the unit for the interval/step between the labels. In conjunction with the LabelStep property defines the interval between the labels on the axis, ex.: 1 day, 3 months, 1 year.
Declaration
public DateTimeScaleUnits LabelUnit { get; set; }
Property Value
DateTimeScaleUnits
|
MajorStep
Gets or sets the step/interval between the major ticks/grid lines. In conjunction with the MajorUnit property defines the interval between the major ticks and major grid lines, ex.: 1 day, 3 months, 1 year.
Declaration
public int MajorStep { get; set; }
Property Value
System.Int32
|
MajorUnit
Gets or sets the unit for the interval/step between the major ticks/grid lines. In conjunction with the MajorStep property defines the interval between the major ticks and major grid lines, ex.: 1 day, 3 months, 1 year.
Declaration
public DateTimeScaleUnits MajorUnit { get; set; }
Property Value
DateTimeScaleUnits
|
Maximum
Gets or sets the maximum value for the current axis.
Declaration
public DateTime? Maximum { get; set; }
Property Value
System.Nullable<System.DateTime>
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.DateTime.Now and the selected BaseUnit. In case the Maximum and Minimum values are set to an equal value, then their values are ignored.
Minimum
Gets or sets the minimum value for the current axis.
Declaration
public DateTime? Minimum { get; set; }
Property Value
System.Nullable<System.DateTime>
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.DateTime.Now and the selected BaseUnit. In case the Maximum and Minimum values are set to an equal value, then their values are ignored.
MinorStep
Gets or sets the step/interval for the minor ticks/grid lines. In conjunction with the MinorStep property defines the interval between the minor ticks and minor grid lines, ex.: 1 day, 3 months, 1 year.
Declaration
public int MinorStep { get; set; }
Property Value
System.Int32
|
MinorUnit
Gets or sets the unit for the interval/step between the minor ticks/grid lines. In conjunction with the MinorStep property defines the interval between the minor ticks and minor grid lines, ex.: 1 day, 3 months, 1 year.
Declaration
public DateTimeScaleUnits MinorUnit { get; set; }
Property Value
DateTimeScaleUnits
|