score:3
well, assuming there's no alternative, here's what i went with in case anyone stumbles upon this through google:
using option 2 described above (reversing the axis), i simply modified the labels via the formatter to be the inverse.
in my case, since it's percentage (0-100), i simply put:
labels: { formatter: function() { return math.abs(this.value - 100) } }
score:1
i had a similar problem. after trying different options i ended up setting series index before rendering the chart. generic code:
if (options.chart.type === 'bar') {
for (var i = 0; i < options.series.length; i++) {
options.series[i].index = options.series.length - 1 - i;
options.series[i].legendindex = i;
}
}
updated jsfiddle for your example: http://jsfiddle.net/u8nz6/23/
score:1
in case anyone is still looking for this. i used reversed:true in my legend.
legend: {
align: 'right',
x: -30,
verticalalign: 'top',
y: 25,
floating: true,
backgroundcolor: (highcharts.theme && highcharts.theme.background2) || 'white',
bordercolor: '#ccc',
borderwidth: 1,
shadow: false,
reversed: true // right here!
}
score:2
it looks like there's an option called reversestacks (http://api.highcharts.com/highcharts#yaxis.reversedstacks) that defaults to true for stacked charts. you might want to set this to false in your code.
i noticed that your jsfiddle specifically requests highcharts version 2.3.5, in which this option is presumably not there.
Source: stackoverflow.com
Related Query
- Why does HighCharts reverse the order of my series?
- How can I reverse the series order of a pyramid chart in Highcharts
- Why does this Highcharts graph only show tooltip for the first and last nodes?
- Why does my addSeries (in highcharts) only display names of the series but not the actual pie chart itself
- Why does highcharts sankey chart sometimes combine multiple nodes with same node name but different Id into one and hide the lines?
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Why does Highcharts <div> element take up the entire page?
- Why does the smallest bubble size of this Highcharts jsFiddle example seem incorrect and how do I fix it?
- How can I fix the error #17 "The requested series type does not exist" error when trying to display a highcharts graph in Vue.js?
- HighCharts Hide Series Name from the Legend
- Hiding a Highcharts series without using the legend
- What format does the highcharts js library accept for dates?
- Customizing the colors of individual series in HighCharts
- How can i hide all the Series in highcharts at a time
- Highcharts - How to set custom colors for the series
- Add a gap between the second and third series in a Highcharts column plot with four series displayed
- Show specific series values in the stack label using highcharts
- highcharts link series such that turn one off turns off the other
- Highcharts - specifying order of stacked time series
- Why are the labels for my opposite yaxis in Highcharts not showing up?
- How can I delete all of the points from a highcharts series
- Highcharts - Scatter chart with a line connecting the dots in the series
- Sort the series data for every X-Axis in Highcharts
- How do I style the series labels on a Highcharts pie chart?
- How to remove the halo/glow around a marker upon hovering a series in Highcharts
- Highcharts add tooltip that has a small arrow pointing toward the series
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- How do you set the stack order of the series in a stacked bar chart?
- Gauge Series of Highcharts with React not the Solid Gauge but Gauge Series
- Second yAxis does not scale according to series in Highcharts
More Query from same tag
- Use ajax to draw graph dynamically using Highcharts
- legend labelFormatter: getting space between name and percentage so they line up
- Compare two data points inside the tooltip in a Highcharts combination chart
- Displaying a chart using Highcharts
- Is there a pie chart slice hover event in Highcharts?
- Highcharts: having trouble recreating stacked area chart from Excel with positive and negative values
- Why HighChart hangs browser?
- Dynamically update highcharts via setData for Yii-created Highcharts Widget
- Combining Preprocessed data and drilldown in Highcharts
- Highcharts showing nearest point causes flickering crosshair and strange order
- Highcharts showing image in tooltip and get column index
- Highcharts how to add treemap upon click event on line chart?
- Unable to Dragend Navigator handles in HighStock
- Highstock - Remove axis and series dynamically
- Highcharts load series data problem in Angular
- How to center an image in a gauge
- Include hidden series in exported CSV using Highcharts v8.0
- How to remove High Charts Gird Lines
- Highcharts graph not shown in Yii2
- Showing multiple plot lines while displaying dual y-axis
- How can I automate high charts and graphs using selenium webdriver?
- How can I convert datetime from Flask to Highcharts
- Include nested entity details but don't group by then when grouping by other fields
- Origin of a coordinate space
- Dynamic Highcharts is not updating
- DrillDown in multiple line graphs
- Content must fill available space down to footer and highchart must be reponsive (no scrolling allowed)
- stacked bar chart shows hanging zeros when all values are 0 highcharts
- Marker rotation in Highchart
- Split last 2 weeks of data into current and previous week