Page 1 of 1

WEB Chart client-side events

Posted: Thu Jun 30, 2005 1:37 pm
by 6927799
Hi, since I'm working with VS 2002, I can't install WEB chart v2. My question is what client side events has been added to the new version of WEB chart.
thanks

Posted: Thu Jun 30, 2005 3:03 pm
by narcis
Hi Hermes,
Hi, since I'm working with VS 2002, I can't install WEB chart v2.
Yes, that's right. If I'm not wrong, I told you TeeChart for .NET v2 should be compiled with VS.NET 2002 (.NET Framework v1.0 ) to be compatible with it.
My question is what client side events has been added to the new version of WEB chart.
There's one new run-time event for WebChart which is the HotSpots tool. You can view live examples of that at v2 .NET web demo.

Posted: Fri Jul 01, 2005 1:14 pm
by 6927799
NarcĂ­s, I'm only want to know, if you can say it to me, if I can drop something on the chart and with JavaScript in the client to know where it was droped, series, axis, background, labels.....

Posted: Fri Jul 01, 2005 1:53 pm
by narcis
Hi Hermes,

You may code clientside Chart x,y co-ordinates in Javascript to respond to click, mouseover, etc using the hotspot tool and creating an event to handle the processing you want. Alternatively you can pass the co-ordinate back to the server code-behind module to further process it. Examples of both techniques are included in the TeeChart webdemo installed with TeeChart or viewable via http://www.steema.net/TeeChartForNET/index.aspx . I don't have any specific examples of drag-drop, as you have described, in JScript, but the underlying principles using co-ordinates would be the same.

This tecniques are typically used for drill-down, data related navigation or to return additional information to the client.