Forum Discussion

_anomDiebolt_'s avatar
_anomDiebolt_
Qrew Elite
8 years ago

How Do Obtain HighChart Insight?

How Do Obtain HighChart Insight?

This is an often sought after life skill. Here is how you do it:

Create a chart in your application and display it:

https://login.quickbase.com/db/6ewwzuuj?a=q&qid=1000113



Next open the console (press F12) and paste these commands:

var chart = Highcharts.charts[0];
var options = chart.options;
var jsonString = JSON.stringify(options, null, "  ")
$("<textarea>").css({width: "100%", height: "200px"}).html(jsonString).prependTo("body");

These commands will slap a <textarea> onto the top of the page and fill it with all the data that is responsible for uniquely defining your chart.




Copy this data to your clipboard and Paste it into the Text tab of the JSON Viewer at this URL

http://jsonviewer.stack.hu/

If you now switch to the Viewer tab you can visually explore the structure of all the options that defined your QuickBase rendered chart in preparation for modifying it.



Enjoy!
  • Awesome. I will try this :)

    Thanks Dan for contributing this.

    Gaurav Sharma