TeEngine.TChartAxis.ExactDateTime
 
 
 


TChartAxis.ExactDateTime
TChartAxis

property ExactDateTime: Boolean;

Unit
TeEngine

Description
Default Value: False

The ExactDateTime property controls if TChartAxis.TChartAxis.Increment property calculates Axis TChartAxis.Labels in exact DateTime steps.

This is very useful when TChartAxis.Increment is a DateTimeStep constant value:

Chart1.BottomAxis.Increment := DateTimeStep[ dtOneMonth ] ;

In this example, the Increment property should be considered to be an exact month. So, if an axis label is:

'1-April-
2007'

then the next axis label would be:

'1-May-
2007'

and the next:

'1-June-
2007'

When ExactDateTime is False (the default value), the dtOneMonth increment equals to 30 days, and axis do not calculate how many days a month has.

The Series TChartSeries.XValues or TChartSeries.YValues properties should have the TChartValueList.DateTime property True. ( XValues for horizontal Axis and YValues for vertical Axis).



Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.