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
Post a Comment