score:29
Accepted answer
as of highcharts 3 you can use xaxis.type and set it to "category" for your desired behavior without having to specify the category names.
http://api.highcharts.com/highcharts#xaxis.type
i've edited the jfiddle to have the following:
xaxis: {
type: "category"
}
score:2
i believe you are looking for this...
http://api.highcharts.com/highcharts#xaxis.categories
take a look at this fiddle...i've added the following:
xaxis: {
categories: ["new york", "la", "chicago"]
},
Source: stackoverflow.com
Related Query
- X-axis category name from string in series list
- HighCharts Hide Series Name from the Legend
- Changing X axis type from category to datetime on drilldown
- How to populate a Highcharts axis with string formatted data from a PHP array
- Hide a category when a series name has no value attributed to it highchart
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- Highcharts - how to access category of multiple axis of the point from tooltip
- HighChart - accessing series data by category name
- How to reference yData from another series in each category of a highcharts column chart
- Generate highchart instance on floating div from mouseOver on axis label or from series point
- HighCharts Disable some Series Name from the Legend
- Can we have same category name in X axis of Highcharts
- Highcharts: Dynamically add series value to category name
- highcharts: when adding new data series add new Y axis only if the title is different from existing Y axis
- Passing series data from Java to Multi Y axis Highcharts
- How to data-table show name from series in xAxis
- Add new axis dynamically when adding series from indicators/stocktools
- highcharts with dynamically adding multiple series from JavaScript array name value pair
- Highcharts : Display static Y axis labels from array when series data is null , else auto generated label
- Highcharts multiple series from JSON with different style depending on serie name
- Highcharts displays series names but missing data points from json source
- Proper way to remove all series data from a highcharts chart?
- How can I hide series from a HighCharts legend?
- How to prevent my stacked series from being in reverse order?
- How to display highchart series line marker symbol from tooltip formatter?
- How can I hide a series from initially being displayed in Highcharts
- remove series by name or id in highcharts
- adding series to highcharts from JSON
- Highcharts - How to start x axis from an arbitrary value
More Query from same tag
- Highmaps: Wrap fillSetter for colorAxis
- How to add custom map and custom data to Highmaps?
- Move series on the forefront in highchart (z-index)
- How to add blank spaces in highcharts subtitle option
- How to change the point color to red that is lowest point plotted in the graph and 2nd issue is animation effect is not supporting in the ie10,ie8
- Highcharts, vue component. 3 charts in 1
- Highcharts: possible to force datalabel to overlap y-axis?
- Highcharts: how to group data points and display the total accordingly?
- highcharts gauge use with negative values
- How can I use data.table or data.csv and extra data for click event handling
- Highcharts 3 cannot render more than 1000 points in one series
- Angular Highcharts Custom Legend Label In Area Chart
- How could I change the x,y label and remove empty x bar
- Highchart 2.1.5 stacked bar chart
- React Highmap this.normalizeTimeTickInterval is not a function
- Highcharts dynamic data fetching in React
- Highcharts Combination Chart: Column covering line series marker
- Highcharts in mvc 4, many categories
- JavaScript code inside TypeScript file .ts not working
- Highcharts - Pie Chart change slice colors dynamically
- Using hours value with HighCharts
- Highcharts Solid Gauge Width
- Highstock v3.0 how to disable tooltip timeout/delay
- Highcharts: How to make line touch left + right sides
- How can I include two data in one series on HIGHCHARTS?
- change button image
- How to match columns height with spline in Highcharts
- HighCharts-Removing the padding for a bar chart
- Multiple Series Timeline with HighCharts
- Creating a directive for window resizing