TChartValueList.DateTime
TChartValueList
property DateTime: Boolean;
Unit
TeEngine
Description
TeeChart allows values to be expressed either as numbers or as Date+Time values.
Delphi and C++Builder consider DateTime values as Doubles, thus making easier to handle both kinds of values.
Each Series value list has a boolean property called DateTime.
The boolean DateTime property tells TeeChart what type the numbers are.
The horizontal (x axis) and vertical (y axis) value defaults are number format (DateTime False).
DateTime can be changed both at design-time and run-time, forcing the Chart to repaint.
This property is used whenever a value must be converted to text, for example, to draw it as the chart axis labels.
Axis labels will be drawn in DateTime or numeric format accordingly to the setting of the DateTime property.
You can also set the Chart Series ValueFormat and the Chart Axis DateTimeFormat formatting strings, to control how the values will be displayed.