score:37
Accepted answer
you can do this with the setcategories
method found on the axis object. see the reference documentation for axis here: http://www.highcharts.com/ref/#axis-object
example: http://jsfiddle.net/4tuvc/
score:-1
try this one
data.chart.xaxis["categories"] = ['a','b','c']
score:2
since highcharts 5.0.0 you can use the update() function to update the chart options after render time:
data.chart.xaxis[0].update({categories: xaxiscategories});
Source: stackoverflow.com
Related Query
- how to set the interval of points on Y - Axis highcharts
- Highcharts set x-axis categories
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- Highcharts Line - When Y axis min is set to 0, connecting line isn't shown for consecutive 0 values
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart
- Negative value for categories axis in highcharts
- How do I set Highcharts categories dynamically?
- Highcharts - Cannot set x-axes categories in column charts with negative values
- Add Sub categories to y axis on highcharts
- How to resize bar chart based on no of x axis categories in HighCharts
- Highcharts X axis categories name gets only shows 1 character
- Need to precisely set Highcharts axis min/max after chart creation
- Highcharts js set last month x axis data
- Set max y axis point 10% greater than current max - Highcharts
- Can I set a minimum positive and a minimum negative axis value in Highcharts
- My Highcharts graph with multiple axis ignores the max value I set for the first yaxis
- highcharts how to make x and y axis starting on the same zero using categories on yAxis
- Highcharts set X axis label on tick
- highcharts x axis categories not updating dynamically vuejs
- How can I set the units on multiple axis on Highcharts
- HighCharts y-Axis set min max with input field on rendered graph axis
- How to set the x axis of HighCharts to intake DateRange
- How to set point in highcharts when x axis and y axis has data as text values?
- angular 4 Highcharts set yAxis Categories
- Highcharts chart axis exceeding set min and max values
- Highcharts dual axis set yRange
- Want to set the y axis ticks to a fixed value Highcharts
- Why is Highcharts x axis not respecting my categories in stacked area chart
- Width for labels on x Axis with grouped Categories in Highcharts
- HighCharts - Set default Axis options for my extension
More Query from same tag
- How to fire click event in moxie highcharts
- Zoom function breaks the xAxis labels and creates chart gaps when exiting zoom
- YAxis labels and series color the same
- How to get month name from ISO date using moment js
- High chart - Column Range Chart with Time range. How to get tooltip as Start and End time
- Overlaping date labels on xaxis in Highstock
- how to access highstock properties in this example
- Plot Histograms in Highcharts
- Highcharts scrollbar not appearing
- How to display positive and negative values in positive side of graph in Highchart?
- plotOptions.series.point.events returns null point data when using a drilldown
- Highcharts stacked column chart is missing some values?
- Highcharts trigger background click event
- Highcharts column Point Click
- set a symbol marker with highchart
- Highcharts - gap between series in stacked area chart
- HighChart Test React error#13
- does Highstock support a right border for a panel (yAxis)?
- Highcharts solidgauge default tooltip position
- Highcharts log axis in base 2
- Highcharts capture selection
- Highcharts: how do I format the x-axis so the actual date/time from the table appears for each y
- Highchart Dates in data
- When changing data, why is the data reduced every time the button is pressed?
- Highcharts : using same div to load a chart multiple times with different series data
- create custom objects array from json data
- Highcharts breaks after getting a variable's value with document.getElementById
- Highcharts v4.0.4 plotting local timezone
- Highcharts - Markers in line charts move up when leaving hovering
- Use different object property names for x and y axes