We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The zero of y-axis is in the wrong position when there is only one piece of data like this [{k: 1553356800000, v: 0}].
You can see demos from the screenshots below.
The text was updated successfully, but these errors were encountered:
This has to do with a change d3-scale made in 2.2.2: d3/d3-scale#117
d3-scale
2.2.2
This means in the situation where all values are 0 you’ll want to update the scale domain to [0,1].
0
[0,1]
Hope this helps!
Sorry, something went wrong.
No branches or pull requests
The zero of y-axis is in the wrong position when there is only one piece of data like this [{k: 1553356800000, v: 0}].
You can see demos from the screenshots below.
The text was updated successfully, but these errors were encountered: