score:2
Accepted answer
The problem is with using categories: categories: yearmontharray,
- when you use categories, then xAxis.type is set to category
, not datetime
.
So you have a couple of solutions:
- use
formatter
for labels, there preprocess your category string to get desired output - change your format on backend side, to return categories formatter in a proper way
- instead of using categories, use datetime axis. More about can be found here.
In genera, I advice to read about axes(!) in Highcharts. The better you understand library, the better results you will have.
Source: stackoverflow.com
Related Articles
- Can't change date format on Highcharts
- json date format to Highcharts date format
- Highcharts - change background color along specific date range
- Highcharts tooltip date format when using pointFormat
- HighCharts Date format
- change navigator date format in highstock
- highcharts change rendered image source on click
- Format highcharts date tooltip to display timezone
- How to add exporting date and time as user format in Highcharts exporter?
- Highcharts Single Line series JSON date data format
- Highcharts - format date for x-axis as well as autoscale (data from mysql)
- Stock Highcharts date format
- highcharts area range date format
- Format date string into highcharts
- yii highcharts how to set date format in x-axis
- Format used for date in Highcharts - Line with markers chart type
- Tooltip in Highcharts doesn't show the right format for Date
- HighCharts - Don't show line or change line style if date not reached
- Highcharts stock chart Unix date format
- Highstock Change date format dynamically on clicking range selector button
- HighCharts : xAxis Categories Date format not working
- Highcharts Label Date Format
- How to change code in "Pie Chart" in HighCharts
- How to detect the correct date format in highcharts
- Highcharts x axis date format issues
- Date format issue in highcharts
- Change json array format for highcharts
- How to add the years in xAxis date format while exporting? Also how to add the data source during the exporting?
- Highcharts - Date format from MS SQL to PHP issue
- Highcharts with date and time for x axis (from a database with format YYYYMMDDHHMM)
- Axis with wrong interval
- Drilldown in Sankey Diagram
- Highcharts Line Chart - Some categories are not visible
- How can I create a specific Json output for use with Highcharts?
- Highchart does not load data from hidden input when using .val
- Load HighCharts Chart/Data on Form Submit with jQuery
- Highcharts point click event returns "hover" state instead of "select" state
- Loop inside highchart in R
- Highcharts - Display Marker Icon on Single Value
- Hide yaxis with legend
- Highchart Axis with only min and max series value
- how to create array object use jquery
- Highchart js max 15 plots to be plotted
- Highcharts 5 - Radar Charts with circle round the outside
- Highcharts - async drill-down in tree-map with thousands of items
- Highcharts datetime starting on wrong day
- create link for any element in categories Highcharts widget
- Highcharts: Datalabels outside when unsufficient space inside, using Google spreadsheets
- how to place same highcharts series beside each other
- Resizing HighCharts Chart Causes Changes to Max Y Value