How to create a new Highstock chart with new Highchart and not jquery? -


all examples on highchart website creates stockchart using:

$('#container').highchart('stockchart', config);

how create stock chart using new? eg:

var chart = new highchart('stockchart', config)

i tried that, , this...

var chart = new highstock(config)

...with no luck.

i googled more , found it.
code this:

chart = new highcharts.stockchart(config)

annoying that... anyway yeah, has 2 constructors, highcharts.chart , highcharts.stockchart.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -