maven Report post Posted December 27, 2010 Hi: FusionChart is a wonderful product. I prefer to it since it is lightweight. I use exe-chart before. But I found it is rather heavy. Even I just use the chart model,I have to add all its resources floder and others. So I try to move my project to fusionchart. I have read the online documents(just a quick scan),now my problem is the data format fusionchart used to draw the chart. Take the following data as example: ----------------------------- format1 <chart caption="Visitor and bytes" xAxisName="time" PYAxisName='visitor' SYAxisName='bytes' showValues="0"> <categories> <category label="Tue Nov 16 00:00:00 CST 2010" /> <category label="Wed Nov 17 00:00:00 CST 2010" /> <category label="Thu Nov 18 00:00:00 CST 2010" /> <category label="Fri Nov 19 00:00:00 CST 2010" /> <category label="Sat Nov 20 00:00:00 CST 2010" /> <category label="Sun Nov 21 00:00:00 CST 2010" /> <category label="Mon Nov 22 00:00:00 CST 2010" /> <category label="Tue Nov 23 00:00:00 CST 2010" /> <category label="Wed Nov 24 00:00:00 CST 2010" /> <category label="Thu Nov 25 00:00:00 CST 2010" /> <category label="Fri Nov 26 00:00:00 CST 2010" /> <category label="Sat Nov 27 00:00:00 CST 2010" /> <category label="Sun Nov 28 00:00:00 CST 2010" /> <category label="Mon Nov 29 00:00:00 CST 2010" /> </categories> <dataset seriesName="visitor" parentAxis="P"> <set value="0" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="31" /> <set value="6" /> <set value="288" /> <set value="22" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="26" /> </dataset> <dataset seriesName="bytes" parentAxis="S"> <set value="0" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="14699829" /> <set value="5730" /> <set value="573440" /> <set value="257926" /> <set value="0" /> <set value="0" /> <set value="0" /> <set value="24830" /> </dataset> </chart> ------------------------------------ The above data used to generate a combined/multi series chart. And when I use ext chart,my json data like this: --------------------------------------- format2: [ {time:"Tue Nov 16 00:00:00 CST 2010",visitor:0,bytes:0}, {time:"Wed Nov 17 00:00:00 CST 2010",visitor:0,bytes:0}, {time:"Thu Nov 18 00:00:00 CST 2010",visitor:0,bytes:0}, ........................... ] The data can be easily parsed,I can use it in other placed. That's to say,the data in the above is simple and can be reused. But the data fusionchart used can not be reused easily. As we can see,each item of the json data(ext chart used) is a object,it contain all the properties required. Also,the format2 data can be easily generated in the server side by some json-lib. In my opinion,the reason fusionchart use complex data is that they put the data model and data render all together. For example: <set value='26' toolText='PV: 26 2010-12-26 7:00' /> The tooltext is defined in server side where ext config it in the client side. I really like fusion chart's render effection,So I wonder if fusionchart can separate them? Share this post Link to post Share on other sites
Guest Angie Report post Posted December 27, 2010 Hi, Welcome to FusionCharts Forum! Thank you very much for your valuable feedback and suggestion. We will definitely think about it. Keep smiling and keep FusionCharting! Share this post Link to post Share on other sites
maven Report post Posted December 27, 2010 Hi, Welcome to FusionCharts Forum! Thank you very much for your valuable feedback and suggestion. . Unexcepted favor... We will definitely think about it. Keep smiling and keep FusionCharting! BWT,what is the difference between the Multi-series chart and combined chart,I can not distinguish them. Also,when I read the document,I have not found anything about reload data from the server side,almost all the example just tell use how to create a chart and render it just once. I have check the FushionChart.js. Do not find anything related,just find a update method,is this used for reload data and refresh the chart? <h3 class="r"></h3> Share this post Link to post Share on other sites