Skip to content

Fix console error on web and misplaced line in stacked bar chart for animated variant#1193

Open
imalgrab wants to merge 2 commits intoAbhinandan-Kushwaha:masterfrom
imalgrab:fix/remove-errors-rn-web
Open

Fix console error on web and misplaced line in stacked bar chart for animated variant#1193
imalgrab wants to merge 2 commits intoAbhinandan-Kushwaha:masterfrom
imalgrab:fix/remove-errors-rn-web

Conversation

@imalgrab
Copy link
Contributor

Hey @Abhinandan-Kushwaha I realised width prop is not needed in Svg when rendering a line inside stacked bar chart on web.

In fact, it only throws an error that is logged on the console:
error
The height is required though to fix #1191, width can be removed and inherited from parent.

Moreover, the bottom value for web variant only when line is animated had to be readjusted to avoid the exact same issue with misplacement:

before.mov
after.mov

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

Successfully merging this pull request may close these issues.

1 participant