How To Get My Chart JSON?

It doesn't matter if you are using a static JSON configuration, variables, angular, or a framework to build your chart configurations dynamically. To find the end result JSON, right-click on the chart to trigger the context-menu. From there click on the View Source link. You should see some JSON code and two tabs. Copy/paste the parsed JSON tab contents to get the fully generated chart JSON.

 

If you have turned off the view source in the context-menu, simply run the following code in your browser console.

 

zingchart.exec('chartId', 'getdata');
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.