victory icon indicating copy to clipboard operation
victory copied to clipboard

Victory chart is overflowing beyond the parent's width.

Open narasimhan26 opened this issue 2 years ago • 0 comments

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 Screenshot 2024-01-24 at 15 50 29

narasimhan26 avatar Jan 24 '24 11:01 narasimhan26