Thursday, 15 May 2014

Highcharts - Column Chart - Y Axis DateTime -


I highlight a line chart on the hiker which displays the datetime label correctly but if it does change Type: Column labels are replaced with numbers and all columns have the same height.

(To check the error, only the type of migration type: column on JSN)

The reason for this is that the column has been created as value from zero and since your values ​​have been created by date.ITC, zero is January 1, 1970. Since the labels extend such a big time It's doing some weird work. Specify one minute for your yAxis and it will start from there.

  yAxis: {min: date.UTC (2013,0,1), ...},    

No comments:

Post a Comment