VictoryAxis:Fix Label Overlap

Build 635 on label-improvements
1200px
Reviewing disabled
View latest build
Error stack trace View in Storybook
Loading...
Metadata
{ "stack": "<stack trace above>", "name": "Error", "message": "Evaluation failed: TypeError: Cannot read property 'length' of undefined\n at https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:265042\n at Array.map ()\n at https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:264986\n at Array.map ()\n at _approximateTextWidthInternal (https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:264557)\n at Object.approximateTextSize (https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:265730)\n at https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:176271\n at Array.reduce ()\n at addEvents.fixLabelOverlap (https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:176022)\n at addEvents.render (https://5b4acf7c54c0490024d5980b-wdfqavzwcc.chromatic.com/main.4b3d9490570e1e59eeca.bundle.js:1:177475)" }