Bullet chart doesn't render properly when we change the layout using state or props. #3623
Unanswered
PhoenixRiseA
asked this question in
Q&A
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I try to change the layout of the bullet chart using state, it doesn't re-render properly to a vertical layout.
only the vertical to horizontal layout works, but when I'm trying to change from horizontal to vertical, only the target line changes instead of the whole chart. If the props is verical from the start i.e. inital render, then it is rendered as a vertical bullet chart. I want to achieve this with state or props.
Here is the link to a sandbox,
Beta Was this translation helpful? Give feedback.
All reactions