Page 1 of 1

how to remove the line occur in chart panel

Posted: Wed Mar 28, 2007 2:19 pm
by 9523665
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

Posted: Wed Mar 28, 2007 2:31 pm
by narcis
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.

Posted: Wed Mar 28, 2007 3:19 pm
by 9523665
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

Posted: Wed Mar 28, 2007 4:13 pm
by 9523665
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