| 1. |
How To Get Highcharts Dates In The X Axis? |
|
Answer» Highcharts will automatically try to find the best format for the current zoom-range. This is done if the xAxis has the TYPE 'datetime'. Next the unit of the current zoom is calculated, it could be one of: This unit is then used find a format for the axis labels. The default patterns are: second: '%H:%M:%S', If you want the day to be part of the "hour"-level labels you should change the dateTimeLabelFormatsoption for that level include %d or %e. These are the available patters:
Highcharts will automatically try to find the best format for the current zoom-range. This is done if the xAxis has the type 'datetime'. Next the unit of the current zoom is calculated, it could be one of: This unit is then used find a format for the axis labels. The default patterns are: second: '%H:%M:%S', If you want the day to be part of the "hour"-level labels you should change the dateTimeLabelFormatsoption for that level include %d or %e. These are the available patters: |
|