i am not sure if it is possible to achieve it by using only api options, because all the labels are rendered in the center of the tick, but you can move/set the position of each label 'manually'.
const chart = this;
const xaxis = chart.xaxis;
const lasttickposition = xaxis.tickpositions.length - 1;
const lastlabel = chart.xaxis.ticks[lasttickposition].label;
lastlabel.translate(-lastlabel.getbbox().width/ 4, 0)
you can use "align: right" read the usage of align to understand why this works. basically this would mean that the bar would align to the rightmost end of the label so the label always fits
- Prevent Highchart.js from cutting xAxis label
- How can I prevent my HighChart bar chart from being inverted?
- highchart position label on xAxis value
- Highchart how to animate from the xaxis bottom line upward
- how to add dynamic xaxis category label name in new point highchart
- Highchart xAxis label click jquery error
- Dynamically change datetime format of xAxis Tick Label in highchart
- How to change time in hours on HighChart xAxis from Military to Standard time?
- Prevent xAxis of column highchart taking negative labels on hiding one of other series(on legendItemClick event)
- Why does my Highchart look different when I transfer my code from Jsfiddle to my server?
- Ugly Highchart when using letter label for both xaxis and yaxis
- Prevent JSON.parse(data) from cutting off zero digit for String floats
- How to prevent Highchart from severely change declines?
- How to disable label from Highchart
- How to draw line from Data label to Marker in Highchart Scatter Plot
- Generate highchart instance on floating div from mouseOver on axis label or from series point
- highchart - display value in xaxis as the value I get from the chart data as is without conversion
- Solid Gauge: Prevent y-axis label from overlapping gauge
- Add start-date and end-date as a Xaxis label in highchart
- How to render Gantt Highchart from data source
- How to prevent my stacked series from being in reverse order?
- How to display highchart series line marker symbol from tooltip formatter?
- Highchart - change color of one x-axis label only
- Displaying Persian dates in highchart from its corresponding Georgian date
- How to prevent highcharts from shortening labels with ellipsis
- Remove Zero From the HIGHCHART
- Can color of data label be different inside and outside of the bar in Highchart
- Highchart yAxis plotLines label position
- How to draw HighChart XAxis dynamically
- How to dynamically change axis from linear to logarithmic in HighChart
More Query from same tag
- Highcharts thousandsSep is blank instead comma
- Highcharts: only show part of a map
- Highcharts custom tooltip
- How to Plot chart from two different webform Submission data And Wand to Display annotated point
- Highcharts long labels
- Highcharts Multiseries Gauge with DataLabels at Ends
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- Center visible HighMaps area
- Multiple highcharts charts dynamically created in angular2 on one page
- Highchart negative time
- how can I make highstock flags stay put
- Highcharts X-Axis value on top of stacked column
- How to add gridlines to an already generated chart in highcharts?
- Labels and tooltips on plotbands highcharts
- Transferring simple values to readable HighChart data
- Rails HightCharts adding link_to
- Is there a limit for Scatter plots using JS?
- Highcharts series rendering problems
- Highcharts: Add circle to scatter plot
- R Highcharter: Different display and value for clicked category
- Is it possible to change the color of animating digits in Highcharts
- Highchart pie chart colors are not changing
- Highcharts: How do I get columns to have specific color with multiple series
- Highstock graph shows points instead of line at certain zoom levels
- Increase different marker sizes when hovering series using highcharts
- Highcharts - How to get default y-Axis label formatter in a custom formatter
- changing intervals in X and Y axis in high chart (line chart)
- Highcharts credits link not working when exporting as PDF
- HighCharts Parameters meaning - plotX,plotLeft,shapeArgs
- How to Control the highchart, based on external click event