Plotr Project PageDocumentation › Option: barOrientation

NOTE: this page is a work in progress!

When plotting bar charts with Plotr it is possible to alter the orientation of the bars. In this way it’s possible to have vertical and horizontal bars, using the same datasets. It’s pretty obvious how the option works:

// Plot horizontal bars
var options = {
...
	barOrientation: 'horizontal'
...
};
// Plot vertical bars
var options = {
...
	barOrientation: 'vertical'
...
};

If you want to play around with this option, go take a look at the plotr configurator.

At the time of writing the current version of Plotr is 0.3.0. Some things might have changed.