mouse's wheel using

TeeChart for ActiveX, COM and ASP
Post Reply
gong
Newbie
Newbie
Posts: 14
Joined: Wed May 18, 2005 4:00 am
Location: China
Contact:

mouse's wheel using

Post by gong » Fri Jun 24, 2005 12:09 am

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jun 28, 2005 3:05 pm

Hi Gong,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply