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

Custom tick values not spaced across entire axis when all values are the same (Values get centered) #407

Closed
boygirl opened this issue Oct 24, 2016 · 0 comments

Comments

@boygirl
Copy link
Contributor

boygirl commented Oct 24, 2016

From @RoarkeRandall on October 24, 2016 20:59

Here is a jsfiddle of the issue:

https://jsfiddle.net/5g20p8vd/115/

When all the values are the same, it seems to want to center them along the axis, despite there being custom tick values. I believe the expected behavior would be to always spread the tick values across the entire axis length. Only occurs when the values are all the same. If you change one y value to 977 it looks as expected.

You can replace the VictoryBar with a VictoryLine, etc.

Copied from original issue: FormidableLabs/builder-victory-component#80

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

1 participant