Zoom, AutoPostBack & Legend Checkbox

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
pw
Newbie
Newbie
Posts: 57
Joined: Fri Nov 15, 2002 12:00 am

Zoom, AutoPostBack & Legend Checkbox

Post by pw » Sun Feb 05, 2006 11:52 pm

Hi,

I've managed to plot a few line series on the chart. I've also managed to get the zoom function to work, similar to the ASP Demo and I've set the AutoPostBack for the chart to False.

I'm now trying to provide users the option to disable a series by using the legend checkbox. However, it will not work if I have the AutoPostBack = false.

However, if I were to turn the AutoPostBack = true, the zoom function doesn't seem to work and I've problems trying to check on legends that I've previously unchecked.

Any ideas on how I could solve this problem? Thanks.

dave

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

Post by Narcís » Mon Feb 06, 2006 1:03 pm

Hi dave,

For zooming it is necessary to set AutoPostBack to false because it needs two mouse-clicks. As every time that the WebForm is clicked an AutoPostBack event is fired, AutoPostBack needs to be disabled for zooming.

To achieve what you request you can use controls external to TeeChart as a button, checkbox, etc.
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

pw
Newbie
Newbie
Posts: 57
Joined: Fri Nov 15, 2002 12:00 am

Post by pw » Mon Feb 06, 2006 9:31 pm

Thanks Narcis.

Post Reply