Page 1 of 1

Zoom, AutoPostBack & Legend Checkbox

Posted: Sun Feb 05, 2006 11:52 pm
by 6923298
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

Posted: Mon Feb 06, 2006 1:03 pm
by narcis
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.

Posted: Mon Feb 06, 2006 9:31 pm
by 6923298
Thanks Narcis.