score:1
Accepted answer
you need to update max
property:
chart.xaxis[0].update({
categories: categories,
max: categories.length - 1
}, false);
live demo: https://jsfiddle.net/blacklabel/zkqult0y/
api reference: https://api.highcharts.com/highcharts/xaxis.max
Source: stackoverflow.com
Related Query
- Category is not updating for drildown bar chart
- highcharts minPointLength do not work for unstacked bar chart
- dataLabels for bar chart in Highcharts not displaying for null values in 3.0.8
- Stack bar chart is not updating highchart angular
- How do I rotate my HighCharts bar chart so its vertical, not horizontal?
- dealing with highcharts bar chart with really long category names
- Highcharts percentage of total for simple bar chart
- Highcharts not displaying data labels for Pie chart in arabic
- HighCharts-Removing the padding for a bar chart
- Highcharts stacked bar chart hide data labels not to overlap
- Highcharts stacking bar chart border not displaying on right side
- Importing JSON file into Highcharts for Bar Chart Visualization
- HighChart- Plot Stacked Bar Chart on Status for Every Minute
- Highcharts Bar Chart Zoom not working
- Passing in Id for each data item in bar chart using highcharts
- Highcharts: custom datalabel for bar chart. Format in PlotOptions not working
- Bar chart for displaying min/max/avg
- Splitted bar chart for paired data with highcharts
- High chart not showing accurate percentage for two curves?
- Highcharts.js: Group some series but not others in bar chart
- HighCharts. How to set a fixed width for a chart grid, not including labels?
- white border/line color set on hover for the bubbles in the bubble chart not being reset on mouse out from bubble
- Highchart Drill Down do not work for different chart types on same page
- dataLabels are not showed in boost mode for line chart
- Updating single category data in Highcharts column chart
- tickinterval not working high chart for x axis
- Highcharts display label for pie chart using html table as data source
- Not able to show minimal height for a bar in highcharts
- Highchart line chart with category do not occupy full width
- Time series horizontal bar chart for running queries visualization
More Query from same tag
- Highstock: How do i display the series name along the line
- Highcharts: Positioning the toolip with chart.plotLeft
- rangeSelector: change date beyond zoomed time range
- Formating date from database for use in Highcharts
- change vertical lines position in column chart
- Not able to have highcharts x-axis labels max
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- Highcharts: Not plotting correctly with Y-Axis label formatter
- passing data from database to highcharts in Django
- inner radius polar Highcharter
- how to import highcharts with webpack and babel
- Width of column in columnchart using highcharts
- Highcharts with data from sql database
- series declared dynamically Highcharts
- Solve highmaps-highcharts conflict when creating map, column and radar charts
- Highcharts: Add a button on the chart to hide or show multiple axes
- highcharts and wordpress
- Border on selected series in Stacked Bar charts + High Charts
- Highcharts CSV export changes the chart JS object
- Highcharts - Draw Crosshairs / Tooltip on Mouse Position Instead of Snapping to Data Point
- Determine which scatter points are within a filled area in highcharts
- Remove title based on viewport width
- Highchart basic bar : How to know which specific bar section is clicked?
- Highstocks Flags (Combine the flags into single flag if the day have more than one flag)
- Convert Highcharts stacked daily column from "day" to "month" view
- highcharts multiline text inside donut piechart
- Array for subseries on highcharts Drilldown
- Highcharts show x-axis with dates
- Highlight point range in Highcharts
- How to divide the region (city) into sub-regions (sub-cities) on highcharts map