Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

How do I change the scale of my axes? #45

Open
satstanford opened this issue Jul 20, 2016 · 2 comments
Open

How do I change the scale of my axes? #45

satstanford opened this issue Jul 20, 2016 · 2 comments

Comments

@satstanford
Copy link

I am trying to plot a simple line chart displaying average temperatures in different states. The lowest value in my data is 0.3 degrees Celsius, but I would like my y axis to start from the value 0. How do I change the scale of my y Axis to extend beyond the minimum and maximum y values in my data set?

@topicus
Copy link
Contributor

topicus commented Jul 22, 2016

@satstanford You can take a look at the line chart example https://github.com/NuCivic/react-nvd3/blob/master/examples/lineChart/index.js#L47. Let me know if this helps.

@topicus
Copy link
Contributor

topicus commented Sep 3, 2016

@satstanford Did it work for you?

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

No branches or pull requests

2 participants