Animated domain for CartesianChart #675
bryanmylee
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, I'm trying to implement a feature where the cartesian chart's domain updates as the user scrolls through the dataset.
I'm achieving this by updating
domain.yon the chart and handling the pan gesture manually.However, the performance is less than ideal due to React re-rendering.
Would it be possible to support a shared value for the
domainprop on<CartesianChart />, so I could pass a shared value and skip re-rendering on React?Ideally:
Beta Was this translation helpful? Give feedback.
All reactions