vishualhat Report post Posted January 25, 2016 I have converted my data in arraylist to Json using gson libraries. Data I get from there in json is like : "data": [{"status":"Queued","count":"40"},{"status":"Registered","count":"25"}] I want render bar chart from this data. can i change default Label and value to Status, count as per above data? or is there any other solution?? Thanks...! Share this post Link to post Share on other sites
Gagan Sikri Report post Posted January 25, 2016 Hi You have to convert your data array to FusionCharts format, custom data fields cannot be used. For the use-case you described, you can specify "status" and "count" as y-axis and x-axis names respectively while for for value in status it, will go under label and value of count will go as value. Share this post Link to post Share on other sites
vishualhat Report post Posted January 27, 2016 Ok...Thanks,, And how can i do covert it into fusion charts format?? I tried with X-axis and y axis name specification but no data is rendered into chart.. Share this post Link to post Share on other sites
Gagan Sikri Report post Posted January 27, 2016 Hi You have to parse array in JSON and then push elements of array corresponding to element as per FusionCharts format. Please refer to this JSFiddle sample for the same: http://jsfiddle.net/sikrigagan/x9unqrtm/ Share this post Link to post Share on other sites
vishualhat Report post Posted January 28, 2016 Thanks..! Share this post Link to post Share on other sites