Page 1 of 1

Bottom axis label

Posted: Tue Mar 13, 2007 7:01 am
by 9531585
I have time and date on bottom axis of TeeChart. Date/Time format in MS Access database had format (example): "7.3.2007 14:06:58". How can i set fixed minimum and maximum value on bottom axis?

With TChart1.Axis.Bottom
.Labels.MultiLine = True
.Labels.DateTimeFormat = "dd.mm.yy hh:mm "
.Automatic = False
.Minimum =??????
.Maximum =??????
End With


Regards[/code]

Posted: Tue Mar 13, 2007 8:53 am
by narcis
Hi MML,

You can do something like this:

Code: Select all

    TChart1.Axis.Bottom.SetMinMax CDate("1/3/2007"), CDate("31/3/2007")