Is there a way to zoom a Gantt programatically so that the gantt is always centered on the current date for example. I have an entire years worth of data in the chart but I need the gantt to zoom in by default on the current month only, but still allowing the user the ability to scroll left and right as they want to.
Is this type of thing possible?
Gantt zoom/centered programatically on certain date
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi CarlS,
Yes, you can do that using TChart1.Axis.Bottom.SetMinMax method setting the bottom axis minimum and maximum to the time frame you wish to display.
Yes, you can do that using TChart1.Axis.Bottom.SetMinMax method setting the bottom axis minimum and maximum to the time frame you wish to display.
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 |
Gantt zoom/centered programatically on certain date
Thanks for the help. It works Perfectly.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
You're welcome CarlS. I'm glad to hear that was useful.
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 |