how to remove the line occur in chart panel

TeeChart for ActiveX, COM and ASP
Post Reply
Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

how to remove the line occur in chart panel

Post by Ajith Nair » Wed Mar 28, 2007 2:19 pm

Hi Steema Team,

I am getting a line when I click or double click a graph which shows another VB form. This rectangle line will disappear when I click again the same graph. But then when I click, graph get zoomed.

May I know how to upload the sample file for the same?

Any help will be appreciated.

Thanks in advance,

B Regards
Ajith

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

Post by Narcís » Wed Mar 28, 2007 2:31 pm

Hi Ajith,

This is most likely because of default zooming settings. Have you tried changing zoom mouse button?

Code: Select all

    TChart1.Zoom.MouseButton = mbMiddle
Or even disabling it?

Code: Select all

    TChart1.Zoom.Enable = False
For more information on TeeChart's zooming please read Tutorial 11 - Zoom and Scroll. You'll find the tutorials at TeeChart's program group.
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

Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

Post by Ajith Nair » Wed Mar 28, 2007 3:19 pm

Hi Narcís,
Thanks for the quick reply.
unfortunately I could not solve the problem with the two options you suggested. Is there any other option?
If I change to "TChart1.Zoom.MouseButton = mbMiddle", afterwards chart does not allow me to scroll or zoom.

Thanks in advance,

B Regards
Ajith

Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

Post by Ajith Nair » Wed Mar 28, 2007 4:13 pm

Hi Narcís,

I sloved the problem with "TChart1.Zoom.Enable = False".
But I changed to true after I leave particular series.
Thanks again for the help.

B Regards
Ajith

Post Reply