apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.7k stars 19.62k forks source link

[Feature] frame by frame seeking capabilities in chart animations #18014

Open GagnDeep opened 1 year ago

GagnDeep commented 1 year ago

What problem does this feature solve?

frame by frame seeking capabilities in chart animations

What does the proposed API look like?

I am trying to integrate echarts with remotion, which is a react library for creating programmatic videos. I wanted to create an echart animation inside the video, remotion provides you with a useCurrentFrame hook that gives the current frame and updates whenever the frame changes. Using this frame number you can then control the state of the animation. So it can only integrate with libraries that have frame by frame control of animation or some sort of seeking mechanism

For example [gsap](https://greensock.com/docs/v3/GSAP/Timeline/seek()) have a seek method to jump to a particular state of the animation, and using this it can be used with remotion

Is there any similar method available or is possible in echarts, so chart animation can be seeked programmatically ?

echarts-bot[bot] commented 1 year ago

I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.

Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.

A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.

Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.