score:17
Accepted answer
Set the max on the xAxis to the index of the last category you want to show. See this jsfiddle
xAxis: {
categories: ['Apples', 'Bananas', 'Pears', 'Oranges', 'foo', 'bar', 'baz'],
max:6
},
Source: stackoverflow.com
Related Query
- Highcharts - Force Categories in x-axis to be shown, even without data
- Highcharts x axis date full range even if there is not enough data
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- How to have multiple highcharts with different series data in vuejs without repeating code
- How to shift data using Series.addPoint without shifting x axis values in highcharts
- Highcharts show all categories even when no data
- Enable or disable data labels shown in pie charts in Highcharts on click of a button
- data label is not shown Highcharts
- Highcharts Line - When Y axis min is set to 0, connecting line isn't shown for consecutive 0 values
- Highcharts - Global configuration with common code and unique data & Headings
- How to populate a Highcharts axis with string formatted data from a PHP array
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart
- Get highcharts data without parseJSON
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highcharts - how to create multiple y axis and group the data series
- how to display 2 same highcharts without duplicate the code
- Negative value for categories axis in highcharts
- Highstock, True way of Get count of shown points after setExtreme (Zooming) - WITHOUT counting all data with MIN and MAX
- Highcharts categories from data array
- Highcharts - How to force line chart to be visible above X Axis
- Add Sub categories to y axis on highcharts
- How can I show all Timeline Highcharts data without any overlapping?
- How to resize bar chart based on no of x axis categories in HighCharts
- Highcharts X axis categories name gets only shows 1 character
- 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 ?
- Highcharts grouped categories data csv
- Highcharts display label for pie chart using html table as data source
- HighCharts - Graph axis starting BEFORE first data point
- Highcharts js set last month x axis data
- Include additional highcharts source data in angular2 app
More Query from same tag
- Drawing a simple graph using projected lines
- How to draw a different gradient fill for negative values?
- Highcharts - How to deploy data labels & tooltips for 2nd data series
- Highcharts not displaying in jEditorPane
- How to prevent column overlap in Highcharts
- How to add image to High-chart?
- set the background color for column group graphs in highcharts
- How to set border on a 3d pie highchart?
- Angular Highcharts Series name in piechart with API data
- Highcharts - label placement for categorized y-axis
- Highcharts bar chart force bar to use space
- How is Highcharts.com documentation generated
- Can't show the color in interactive highchart choropleth map
- Highstock - how to shift the X axis
- Highcharts dual x axis column + line is adding ticks to secondary x axis
- How to manage event through a fill color with highchart?
- Highcharts: Make the Axis continue to current datetime
- Current month tick labels in week format and other tick labels in month/year format(Highcharts)
- realign Labels only to single Chart or type chart on highcharts
- Highcharts ignore skipped dates
- How to add HighChart to Angular?
- Error displaying Gantt chart in laravel
- Highchart line chart with category do not occupy full width
- HighStock if time inertval missing shows red line or blank space?
- Fullscreen panel bootstrap with highcharts (responsive)
- Navigation arrows for Stock Tools
- Can you remove specific grid lines and point labels using highcharts without css?
- Highcharts, How to show datatable when export PDF and not show pdf when normal
- Issue with json data mapping with Highcharts
- HighCharts fitting long Y-axis labels