Open mengxi-ream opened 6 days ago
@mengxi-ream the morphing animaiton of chart has been disabled
because there are too many useless update in react-vchart
@mengxi-ream the morphing animaiton of chart has been disabled
because there are too many useless update in
react-vchart
Does this mean in version 1.12.6
I just need to write something like <VChart spec={spec} morphConfig: {morph: true} />
to turn morphing animation on?
@mengxi-ream the morphing animaiton of chart has been disabled
because there are too many useless update in
react-vchart
Does this mean in version
1.12.6
I just need to write something like<VChart spec={spec} morphConfig: {morph: true} />
to turn morphing animation on?
yes
@mengxi-ream the morphing animaiton of chart has been disabled
because there are too many useless update in
react-vchart
Does this mean in version
1.12.6
I just need to write something like<VChart spec={spec} morphConfig: {morph: true} />
to turn morphing animation on?yes
look forward to trying version 1.12.6. 😍
I tried global animation in this project: https://visualgallery.mengxi.work/chart/global-animation
this is what exactly I want: https://visactor.io/vchart/demo/storytelling/bar-to-pie
codebase: https://github.com/mengxi-ream/visual-gallery/blob/main/pages/chart/components/global-animation.tsx
However, I am not sure how to properly utilize
registerMorph
andupdateSpec
in React. I attempted to implement them, but encountered bugs, as demonstrated in the link provided earlier.Here is my code:
To reproduce:
git clone https://github.com/mengxi-ream/visual-gallery.git
pnpm i
pnpm dev