rl888 Report post Posted March 27, 2019 (edited) In my paga.jsp i received 1, 2 or dataSets (diferent Strings). So, depends how much dataSets i received i want to put 1, 2 or 3 dataSet in my chart. Example: "dataset": [ { "seriesname": "1|2|3|2", "data": "1|10|20" }, { "seriesname": "11|12|13", "data": "10|100|200" }, ] And i want to put in automatic, and to depends how much dataSets i received. Its that posible? Thanks Edited March 27, 2019 by rl888 Mistake Share this post Link to post Share on other sites
Akash Biswas Report post Posted April 2, 2019 Hi, FusionCharts render charts with the provided dataSource by the user in the FusionCharts constructor. Now to include the dataset in the dataSource based on your fetched or received data, you need to generate the dataSource dynamically in the prescribed format accordingly, before providing it to the FusionCharts constructor. If you want to change the chart data, check this documentation for reference : https://www.fusioncharts.com/dev/getting-started/plain-javascript/configure-your-chart-using-plain-javascript Thanks, Akash. Share this post Link to post Share on other sites