How do I rotate my HighCharts bar chart so its vertical, not horizontal?

To expand on Moin Zaman's answer, I played with his jsfiddle http://jsfiddle.net/aznBb/ and found this.

This is horizontal.

chart: {
    type: 'bar',
    inverted: false // default
}

This is also horizontal.

chart: {
    type: 'bar',
    inverted: true
}

This is vertical.

chart: {
    type: 'column',
    inverted: false // default
}

This is horizontal and apparently identical to the bar charts.

chart: {
    type: 'column',
    inverted: true
}

Very odd. I can only guess that type: 'bar' aliases type: 'column' and forces inverted: true no matter what it's actually set at. It'd be nice if it just toggled the inverted boolean.


Vertical bar charts are called column's in Highchart.

Change this:

type: 'column' //was 'bar' previously`

See example here: http://jsfiddle.net/aznBb/