javascript - Highcharts skip non-provided steps in a series -
i have bar chart in high chart. send items x & y. happened x-values numerics. in such case, assumes there missing entries , add missing entries. want force high chart not include assumed items. possible without using categories?
http://jsfiddle.net/96bk4661/1/ $(function () { $('#container').highcharts({ "chart": { "type": "column" }, "series": [{ "name": "x-axis", "data": [ [1, 77926], [2, 71245], [4, 75275], [5, 78175], [6, 75369], [7, 78145], [8, 77638], [9, 75706], [12, 77491] ], "color": "#1aa4d5" }] }); });
this 1 different http://stackoverflow.com/questions/15973457/automatically-join-missing-data-gaps-in-highcharts-js
don't want values included on x-axis.
use highstock , set ordinal parameter true.
xaxis:{ ordinal:true },
example: http://jsfiddle.net/96bk4661/2/
Comments
Post a Comment