FormidableLabs / builder-victory-component

Builder archetype for Victory components
MIT License
1 stars 6 forks source link

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

Closed RoarkeRandall closed 8 years ago

RoarkeRandall commented 8 years ago

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.

boygirl commented 8 years ago

This issue was moved to FormidableLabs/victory#407