Negative value for categories axis in highcharts -
i have x axis of type category , series contains negative x values axis. how can bind point in negative x values match category, can displayed correct category point? tried max , min didn't much.
http://jsfiddle.net/nabilasbi/kcj9qxlu/
ps. same problem happens y axis negative y values.
xaxis: { "categories": [ "-1 - negative", "2 - high", "3 - moderate", "4 - low"], "type": "category" }, series: [{ data: [ [-1, 4, 87], [2, -1, 73], [1, 4, 42], [1, 3, 79], [2, 3, 60], [3, 2, 58], [4, 2, 56] ] }]
since categories field array, 0-based, think option transpose data it, too, 0-based. can modify "name" of data item show accurate value.
Comments
Post a Comment