durga1973 Report post Posted April 11, 2014 Hi, We are planning to creat charts using some dynamic data, The data pattern is as follwos We have a data for one hour, so planning to show on X-axis with lables 0 min, 5 mins ... 55 mins On Y-axis we want to show the amounr of consumttion like 100, 200 .... 500 The issues we don't have a data exactly at 5 min or 10 mins the data entry can be between 5 to 10 mins <consumption> <person time="10:05" amount="150" /> <person time="10:08" amount="150" /> <person time="10:13" amount="150" /> <person time="10:25" amount="150" /> ..... </consumtion> We want the chart to show the value at 8 mins from the above example. We want to use Multi Series Line charts. Please help me out which charts can be used and how to plot it Thanks, Durga Share this post Link to post Share on other sites
Bindhu Report post Posted April 14, 2014 Hi Durga, If you want to represent only one series, you may use Line2D chart and if you want to represent more than one series, then use MultiSeries Line 2D chart. You have to provide data in either XML or JSON data format. The x-axis takes in only string values and y-axis takes in numerical data. For the given data, the chart XML data would be like, <chart xAxisname='Time' yAxisName='Amount'> <set value='150' label='10:05'/> <set value='150' label='10:08'/> <set value='150' label='10:13'/> <set value='150' label='10:25'/> </chart> Please find attached screen shot of the chart rendered. Hope this helps! Share this post Link to post Share on other sites