Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set y axis range? #152

Closed
lokeshh opened this issue Jun 27, 2016 · 1 comment
Closed

How to set y axis range? #152

lokeshh opened this issue Jun 27, 2016 · 1 comment

Comments

@lokeshh
Copy link

lokeshh commented Jun 27, 2016

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

@Watson1978
Copy link
Collaborator

You can set them using maximum_value and minimum_value method.

https://www.rubydoc.info/github/topfunky/gruff/Gruff/Base#maximum_value-instance_method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants