litboyboots Report post Posted May 20, 2010 now i'm in this situation : i have a html page,it will show 5 ms_line chart .Every chart has 3 datasets,and every dataset has 2880 value.All the chart uses datetime as the labelname. Question: Everytime i open this page,it will take me 15 seconds more or less.and i already take a test that no time is wasted in get data from DB, it all wastesd in download the html and generate the chart. I save the html's source code,the .txt is about 830KB. so , how can i generate the html page quicker ? 15 seconds is unacceptable. ps: i try to find a way to generate a picture directly with fusionchart and invoke the picture in html page , but i see the api and i didn't find something about it . Share this post Link to post Share on other sites
litboyboots Report post Posted May 20, 2010 555 ..nobody care... Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 21, 2010 Hi, We appologize for the inconvenience. Our development team is working on it. We will get back to you as soon as possible. Share this post Link to post Share on other sites
litboyboots Report post Posted May 21, 2010 hi,thanks for reply .~~ so ,if u have any info that could help me ,could u send a email to me ? my email is : [email protected]. now,i am trying to use JFreeChart to have a test.hope this could work well. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 21, 2010 Hi, You are most welcome. We will surely get back to you as soon as possible at [email protected]. Happy FusionCharting. Share this post Link to post Share on other sites
pbunting Report post Posted May 23, 2010 Hi, We have experienced a delay in loading the charts when the dataset gets a bit larger. We are testing with IE7. We generate the XML data in out JSP and then create and load the chart using the Javascript functions. We found that the longest duration task was actually the setDataXML javascript function, in particular the encodeDataXML function. IE7 seems much slower at this than say FireFox. Our solution is to create the chart with no data, then when we get the rendered event we use the setDataXML function to load the data. This is much quicker as it appears only the initial data goes through the encodeDataXML function. function renderChart() { graph = new FusionCharts(...); graph.setDataXML('<chart />'); graph.render("chartDivId"); } function FC_Rendered(DOMId) { graph.setDataXML('<c:out value="${XML}" escapeXml="false" />'); } Hope this "feature" helps Paul Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 24, 2010 Hi, Bigger data would take time to parse. You can use the chart's native API function - setDataXML(), rather than FusionCharts.js's setDataXML(). Please write: function FC_Rendered(DOMId) { getChartFromId('yourChartDOMId').setDataXML(''); } Share this post Link to post Share on other sites