How to create a properly scaled x axis?

I use HighCharts line graphs, where my x-axis data is not evenly distributed:

[4, 10, 40, 100, 400, 1000, etc.]

Currently, x values ​​are evenly spaced. I want the distance between x [5] and x [4] to be 10 times larger than between x [3] and x 2 . How to do it?


In GoogleCharts lingo, I need a continuous axis .


In docs , I see only “linear”, “logarithmic” and “datetime” for the axis type. ("linear" is the default and doesn't do what I want).

+5
source share
1 answer

javascript, , , , categories xAxis. , .

series, x y (http://www.highcharts.com/ref/#series--data 2), xAxis . , .

+4

All Articles