mattetti / googlecharts

Ruby Google Chart API
http://mattetti.github.com/googlecharts/
MIT License
699 stars 108 forks source link

Automatic min max #58

Open dnagir opened 12 years ago

dnagir commented 12 years ago

I have had a lot of problems trying to get min-max values right especially with multiple (bar chart) series.

It turns out the API can do it automatically. But it was impossible to set it in the gem.

So this PR allows you to pass :min_value => false, :max_value => false to avoid explicitly setting those and rely on API to do that.


Ideally I think it should be the default with the current behaviour enabled by setting both min and max values to true.