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]
Bottom axis label
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MML,
You can do something like this:
You can do something like this:
Code: Select all
TChart1.Axis.Bottom.SetMinMax CDate("1/3/2007"), CDate("31/3/2007")
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |