javascript - HighChart Chart displaying incorrect data when switched to StockChart -
i'm using highcharts render highstock chart. reason when switch highstock chart changes labels random data.
when change
chart_650422 = new highcharts.chart({
into
chart_650422 = new highcharts.stockchart({
the xaxis labels changed random data.
here demo: http://jsfiddle.net/14we85px/
in short: highstock doesn't support categorized xaxis, see api - options type
or categories
not listed.
however, don't have switch highstock - if have highstock.js file included, can create highcharts chart enabled features highstock, see demo: http://jsfiddle.net/14we85px/3/ (changes: removed scroolbar
(?) , added scrollbar.enabled = true
).
Comments
Post a Comment