score:2
Accepted answer
Try this :
xAxis: {
type: 'datetime',
labels: {
formatter: function() {
return Highcharts.dateFormat('%b-%Y', this.value);
}
}
},
From the docs:
%b - Abbreviated month name, based on the locale(Jan through Dec)
%Y - Four digit representation for the year(Example: 2038)
Source: stackoverflow.com
Related Articles
- High Chart X Axis to display month and year
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts - Display only year in x axis and stop auto formatting
- How to Display Month and Year in xAxis of Highcharts datetime graph
- JasperReports: HTML5 high chart X Axis label font size
- High chart data downloads but does not display in browser using node
- How to display last data point value in a tag on Y Axis in line chart of highChartjs
- High Charts Column Chart - Y axis Label Formatting
- tickinterval not working high chart for x axis
- Highcharts: wrap column chart month ranges in year
- Highcharts display label for pie chart using html table as data source
- High chart Displaying wrong month value in xaxis
- x axis label word wrap in high charts for radar chart
- How to provide styles on X axis gantt high chart
- How to auto adjust Y axis plot lines in live high chart
- High Chart set x axis value in hours format
- How Can we display a legend in high chart that contains apostrophe
- unable to Add display data values on top of bar high chart
- Angular 7 High Charts Stock Chart Datetime X Axis tooltip formatting independently of other tooltips
- How can I have month and year in x axis, display as number in Highcharts?
- Display of plotted point labels not appearing properly on X Range Chart for the first date of month - Highcharts
- compress x axis in high chart
- Make the chart display current year in HighChart
- Highchar display wrong month in date chart
- high chart with large variates data and dynamically create y axis
- Display year in x axis of line graph highcharts
- changing intervals in X and Y axis in high chart (line chart)
- How to change the X and Y axis names of Pie chart High Chart?
- high chart graph doesnt start from the correct month
- How to hide the Axis line in stack bar chart high chart
- TypeError: Highcharts[h] is not a function
- Issue with Spider HighChart as it is showing as a line chart sometimes
- Increase the height of the legends in highcharts
- Tool tip formatter for donut highcharts
- Highcharts has incorrect vertical bar position
- which is best to use Fusionchart or Highcharts?
- Highstock area chart renders a gap, but there is data
- Update Highcarts series data form axios request in VueJS
- Horizontal crosshairs for multiple series
- how to fix tooltip after highchart upgrade
- Kendo Linear Guage with logarithmic scale
- Plotting the below json in a HighChart
- High Charts - Populating Data From Array
- Create visualforce page to show time line using highcharts in salesforce
- Hightlight x-axis label in Highcharts
- Unable to create Highchart where i can show different - different data on clicking category and series
- Highstock - "destroy is not a function" error
- Highcharts 3d scatter click does not work
- Timezone on Highcharts
- HighCharts - Trying to create a 'thin' donut chart