Page 1 of 1

DateTime axis increment

Posted: Mon May 08, 2006 9:14 am
by 9640483
In the example there is a line that says:

this.tChart1.Axes.Bottom.Increment = Convert.ToDouble(TeeChart.DateTimeSteps.OneDay)

I think that that is a error because the resulting increment gets the value of 15

Posted: Mon May 08, 2006 10:35 am
by narcis
Hi hkv,

This is because this may be its position in the enum list. To use this properly you should use:

Code: Select all

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