Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highstock with numbers instead of date in x-axis

I need to output a plot on page, and I'm considering Highstock or Highcharts to implement this. Highstock interface is more preferable due to navigator pane showing the rest of plot after rezooming.

However my plot has numbers in x-asis, but not date/time. Is there any way to use Highstock with numerical x-scale? Or add similar navigator to Highcharts?

like image 743
dev4 Avatar asked Feb 21 '12 13:02

dev4


Video Answer


1 Answers

Below X Axis formatter can be used with high Stock for displaying numbers in X-Axis:

xAxis: {labels: {   formatter: function () {return this.value;}} }
like image 195
user2504837 Avatar answered Sep 29 '22 09:09

user2504837