Sets the Axis.Increment property to calculate Axis Labels in exact DateTime steps.
public Boolean ExactDateTime {get; set;}

Remarks


Default: false

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

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

Example


[C#]

tChart1.Axes.Bottom.Increment=GetDateTimeStep(Steema.TeeChart.DateTimeSteps.OneMonth);


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

'1-April-1996'

then the next axis label would be:

'1-May-1996'

and the next:

'1-June-1996'

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

The Series XValues or YValues properties should have the DateTime property = true. ( XValues for horizontal Axis and YValues for vertical Axis).

See Also

AxisLabels Class | AxisLabels Members | Steema.TeeChart Namespace