morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.92k stars 1.23k forks source link

Horizontal Bar Chat ? #734

Open SteakdeNiche opened 6 years ago

SteakdeNiche commented 6 years ago

I'm currently trying to display a basic Bar Chart horizontally. I've found the option horizontal:true in some issues but it doesn't work for me. capture

I didn't find this option in documentation so I guess it doesn't exist anymore ? Thank you for your help

Zer0SkiLL commented 6 years ago

I'm running into the same issue. I've got a statistic so big, it doesn't fit in a horizontal line. It would be more readable in a vertical Alignement.

pierresh commented 6 years ago

This option is available from the version 0.51, unfortunately the version in npm is 0.50. So you need to download the version from Github to get that feature.

nhnam6 commented 6 years ago

@SteakdeNiche here example for horizontal bar chart http://jsbin.com/pucadowa/8/edit?html,js,output