Page 1 of 1

WebCharts - multiple charts on one ASP.NET pag

Posted: Tue Jun 24, 2008 6:02 pm
by 14046718
Can a single ASP.NET 2.0 page contain multiple, interactive webcharts? By interactive I mean, all charts will respond to user mouse clicks via server methods, and all using separate ASP.NET AJAX Update panels.

Do you have any examlpes like this?

I was wondering if the sessioning of more than one chart per page would be compromised or if there would be a problem with session memory.


thanks,
Rich

Posted: Wed Jun 25, 2008 9:50 am
by Marc
Hello Rich,

Yes, you can run several TeeChart WebCharts simultaneously in different Update Panels on the same web page. It has been tested inhouse and used at various customer sites. I don't have any example immediately to hand but I would expect no special configuration issues, place your update panels on the page and position the WebCharts in them. Individual zoom control is handled automatically (assuming you are running the checkZoom method in code behind).

We have not seen or heard of any session memory issues.

Regards,
Marc Meumann

Posted: Wed Jun 25, 2008 2:04 pm
by 14046718
Thanks.

I seem to be having difficulties when adding a second chart to a page, the second chart doesn't update after a zoom. The added chart doesn't redraw at all. If I continue to have trouble I'll send you some sample code.

One question however...do both charts need their own GetChart.aspx file or can they utilize the same one?

thjanks,
Rich

Posted: Wed Jun 25, 2008 3:02 pm
by narcis
Hi Rich,

One GetChart.aspx is enough for all charts.

got it

Posted: Wed Jun 25, 2008 3:16 pm
by 14046718
Thanks NarcĂ­s

I found the prooblem in my code.


Rich