WebCharts - multiple charts on one ASP.NET pag

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

WebCharts - multiple charts on one ASP.NET pag

Post by richheim » Tue Jun 24, 2008 6:02 pm

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

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Wed Jun 25, 2008 9:50 am

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
Steema Support

richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

Post by richheim » Wed Jun 25, 2008 2:04 pm

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

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

Post by Narcís » Wed Jun 25, 2008 3:02 pm

Hi Rich,

One GetChart.aspx is enough for all charts.
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

richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

got it

Post by richheim » Wed Jun 25, 2008 3:16 pm

Thanks Narcís

I found the prooblem in my code.


Rich

Post Reply