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

Setting minimum and maximum values on area & line charts #73

Closed
Zaya1101 opened this issue May 26, 2022 · 1 comment
Closed

Setting minimum and maximum values on area & line charts #73

Zaya1101 opened this issue May 26, 2022 · 1 comment
Labels
question Further information is requested

Comments

@Zaya1101
Copy link

Zaya1101 commented May 26, 2022

Is it possible to implement props for min and max values of the y-axis scale on area and line charts? It seems at the moment all area and line charts have a y-axis that always starts at 0.

@amcdnl
Copy link
Member

amcdnl commented May 26, 2022

Yes - Example:

yAxis={
              <LinearYAxis
                domain={[0, 100]}
              />

In the future, please ask ?s in the Discussions please.

@amcdnl amcdnl closed this as completed May 26, 2022
@amcdnl amcdnl added the question Further information is requested label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants