If I use mouse's wheel to move the chart time after time, I can't enforce
the chart come back original condition. How I can enforce the chart get back original condition promptly? Or forbit using mouse's wheel?
mouse's wheel using
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gong,
You can just use SetMinMax to go back to the original situation doing something like:
You can just use SetMinMax to go back to the original situation doing something like:
Code: Select all
With TChart1.Series(0)
TChart1.Axis.Bottom.SetMinMax .XValues.Minimum, .XValues.Maximum
TChart1.Axis.Left.SetMinMax .YValues.Minimum, .YValues.Maximum
End With
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 |