How to set y axis range?
lokeshh opened this issue · comments
Lokesh Sharma commented
Hi
Great library. How can I set the range of the y axis that is displayed on the graph? For example I want the y values to show between 0 to 10. How may I do it?
Thanks
Watson commented
You can set them using maximum_value
and minimum_value
method.
https://www.rubydoc.info/github/topfunky/gruff/Gruff/Base#maximum_value-instance_method