victory
victory copied to clipboard
Victory chart is overflowing beyond the parent's width.
Describe the bug Victory chart is overflowing beyond the parent's width. This happens with both victory chart and victory axis
Victory version "victory-native": "^36.6.8"
React Native version "react-native": "0.71.13",
Code Sandbox link Please include a code sandbox link or a similar reproduction if possible.
To Reproduce Steps to reproduce the behavior: When a large set of data comes into the victory chart and the victory axis is overflowing beyond the parent view in react native. Steps we tried resolving
- tried customizing tick count and tick values (no luck on this)
- tried adjusting padding and width (no progress)
- at a worst case I tried hiding the overflowing chart and axis. (victory label is been cut down and UI looks odd)
Expected behavior Victory chart should now overflow beyond parent's width
Screenshots