Open dnagir opened 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.
:min_value => false, :max_value => false
Ideally I think it should be the default with the current behaviour enabled by setting both min and max values to true.
true
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
.