score:2
Accepted answer
You can set minRange
and min
for xAxis. Just like this: http://jsfiddle.net/fkk4b/3/
xAxis: {
type: 'category',
/*categories: [
'Smallest Priority',
'Performance inprovement Priority',
'Performance inprovement Priority',
'Biggest Priority'
],*/
min: 0,
minRange: 3,
lineWidth: 2,
minorTickLength: 0,
tickLength: 0,
},
Not universal solution, but works for the same number of categories in one chart.
EDIT:
To remove extra labels, use formatter:
labels: {
formatter: function() {
if(this.axis.series[0].levelNumber == 1 && !this.isFirst ) {
return '';
} else {
return this.value;
}
}
}
Source: stackoverflow.com
Related Query
- Highcharts: How to move the column bar to the left most side when there is only one point in drilldown
- Highcharts Chart Bar - How can I display in the chart, only one column from my HTML table?
- Align second scatter series to the side similar to how column and bar charts do using HighCharts
- how to enable only 1 out of 2 column column graph by default when page loads in highcharts and the 2nd one gets visible when toggled in the legend
- How to get Highcharts X-Axis Categories starting at the left most point
- How to apply borderRadius only for top side of Column or Bar in Highchart
- Is there a way to move data labels to the side of a stacked column in HighCharts?
- How to hide only the columns of this group when hovering over a group column in highcharts?
- How to make hover effect for two bar in highcharts at the same time is there any way by using css or any inbuilt method to achieve this?
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- Highcharts column how to move series name to the title position with bigger text size
- How to use highcharts to display data of only five point when the page is initialized?
- How to hide stackLabel in highcharts when it is bigger than the column
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Highcharts: how to maintain the same order of category labels when bar chart changes to column chart
- How to update the HighCharts title using drill-up when there are multiple charts on same page?
- How to reduce the space between Bars with a fixed bar width in Highcharts column chart?
- Highcharts - How do I move an icon inside each pie slice when the pie slice moves on hover?
- How do you change the colour of each category within a highcharts column chart?
- Using Highcharts and displaying a message over or on the chart when there is no data
- How to know information about the clicked bar in highchart column r shiny plot
- Highcharts Bar Chart - How to set the minimum bar width/length
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- Highcharts : How to fix labels to the top when xAxis rotation is 90°?
- Highcharts Bubble Chart - How to move an individual point's data label (dataLabel) to the front/top
- highcharts legend items align to the left when width is set
- Is there a way how to dynamically create a plotline in highchart when the value is lower than previous one?
- Highcharts basic bar graphs. How to remove strokewith from the bars
- How do I get my highcharts to reduce in size when the window is resized down
- How to add a horizontal line in Column bar chart in Highcharts plugin?
More Query from same tag
- Highcharts: Set y Axis Max and Min dynamically, and not at creation
- highcharts build map with a set of values and display another set of values as labels
- How to add vertical lines to graph with HighStocks or HighCharts?
- JQuery animation doesn't work in IE8
- How to set the highchart and the table horizontally?
- Highcharts, Rails - way to set start point for graph?
- how to import highcharts sub modules in React app
- Highstock get color of Candle in grouped data series
- Highcharts donut hover all area
- Passing Decimal string from php to jquery
- Highchart Download Multiple graph on individual page
- Integrate Highcharts maps with react component
- React / High chart / Stacked bar label for each block
- How to draw single-line graph, using highcharts
- Highcharts js different when installed with bower
- Highcharts (Highstock) how to manually set the navigator selected range
- Change HighCharts plotLine-value and -label
- Heat map with time line
- Highcharts - How do I dynamically change Marker radius when zooming?
- Using HighCharts with Backbone
- Highcharts plotOptions.area.depth does not exist in latest version
- Get Tooltip content from a point from a line/scatter plot in highcharts from javascript
- Highcharts Zoom out in steps
- Highcharts: xAxis label above bar in horizontal bar charts
- TypeError: highcharts is not a function
- HighStock Print Setting To Hide Range Selector
- Use return data from dynamic highcharts chart in Shiny
- Highstocks tooltip doesnt work when chart is small?
- Firefox && IE TypeError: Argument 1 of Window.getComputedStyle does not implement interface Element
- Drawing a dynamic Mixed Bar and Line chart with HIghchart.js with socket.io for live data