maven

Members
  • Content count

    5
  • Joined

  • Last visited

About maven

  • Rank
    Forum Newbie
  1. hi: In my application,the chart can not rendered in some browsers,firefox,opera.and etc. And I got the error: 25081850 run Error rendering chart. This is possibly caused when there is an issue while accessing the chart container HTMLNode element. However it seems that this is not the real reason. Why does fushionchart can not access the HTMLNode element? At last,I found that the flash is not installed in the browser. After reinstall the flash pugin to the browser,everything goes well. So,I wonder how can we check if user does not install the flash pugin?
  2. Fusionchart Data Format

    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>
  3. Fusionchart Data Format

    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?
  4. Thanks for you attention. In fact,the example I give is a combined of line series and column series. I prefer to the two line series. I think fusionchart may suppor it. I just want to know the format of my data which fusionchart need. For example: my data is : time:"2010-11-12 11:00:00"..... How about : time:"2010/11/12 11:00:00".....
  5. var data=[ {"time":"2010-11-11 12:00:00","hit":454,"stream":45232}, {"time":"2010-11-12 12:00:00","hit":2154,"stream":4785}, {"time":"2010-11-13 12:00:00","hit":45,"stream":1457} {"time":"2010-11-14 12:00:00","hit":147,"stream":454545} {"time":"2010-11-15 12:00:00","hit":144,"stream":145852} {"time":"2010-11-16 12:00:00","hit":1452,"stream":145751} ]; I wonder if I can display these data in a chart where the time in the x axis,and the "hit" and "stream" displayed as series(y axis). Like the third chart at here:example