Slow reloading dynamic graphs
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Slow reloading dynamic graphs Expand / Collapse
Author
Message
Posted 9/5/2007 8:58:11 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/5/2007 11:01:44 PM
Posts: 3, Visits: 9
I have a page set up where a user can create a graph according to various options they set on the page. Then they hit the submit button and code-behind generates XML to present the graph.

However, there is a large pause in the process that is dependant on the PREVIOUS graph, not the one it is drawing. I have confirmed with timestamps that somewhere between the user clicking the button, and the code beginning to execute, there is a pause of exactly the same amount of time it would take to re-calculate the XML it is already using.

Here's an example to clarify.

Time Action

0 Page is already created, with a graph that took 20 seconds to generate. User clicks submit button for a different, much faster graph (say 5 seconds to generate)
20 First timestamp in code is reached. (20 seconds after button clicked, same 20 seconds as previous graph took to generate)
25 Graph is generated.
30 User submits a different graph (for example, one that takes 10 seconds to create).
35 First timestamp is reached (note, this is 5 seconds after clicking, and the last graph took 5 seconds to generate).
45 Second graph is generated.


I'm not very good at explaining these things! I am not sure, in fact fairly doubtful, that this is a problem with FusionCharts. I suspect it is more to do with the way ASP processes large amounts of XML data on a postback event. However I'm hoping someone has run into the same issue and can help.
Post #2256
Posted 9/10/2007 11:30:46 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Today @ 5:03:15 AM
Posts: 2,183, Visits: 514
Hi,

Against which chart are you plotting the data?

Also, can you please give us a live link to this and elaborate what the problem is?

Ideally, we would recommend to switch the debug mode of chart to on - that'll give you a lot of insight too.

Thanks,
Pallav Nadhani
FusionCharts Team

Post #2303
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:41am


Execution: 0.078.