Comments (3)
confirmed - no second series animation
from echarts.
you may be need to use chart.clear() before setOption such as
setTimeout(() => {
myChart.clear()
option.series[0].data=data1
option.series[1].data=data2
myChart.setOption(option);
}, 1000);
from echarts.
you may be need to use chart.clear() before setOption such as setTimeout(() => { myChart.clear() option.series[0].data=data1 option.series[1].data=data2 myChart.setOption(option); }, 1000);
While this method seems to work fine in the provided demo, I've observed an unusual behavior in my testing. The animation initially functions correctly upon the first update. However, upon performing a second update, the data points disappear temporarily and then reappear.
If polling is being performed, it seems like it will continue to flicker. Implementing a flag to restrict execution to the first instance is feasible, but I view it as a short-term fix.
from echarts.
Related Issues (20)
- how to handle the separate events inside stacked area chart HOT 1
- Different colors of the series line on the Y-axis in different ranges of the X-axis HOT 1
- [Feature] 汇总表中自定义合计的算法 HOT 2
- [Feature] 在Echarts图标的表格/标题中添加上标/下标 HOT 3
- boxplot箱体超限 HOT 4
- [Bug] After upgrading to 5.5.0, the x-axis overlaps HOT 3
- 使用datazoom请求数据生成新图表后,新图表中无法使用reset按钮怎么办 HOT 1
- Multi data Area Chart HOT 1
- [Bug] dataset decals HOT 5
- [Bug] Using Candlestick's zoom in vue3 will generate an error and the zoom function cannot be used normally. HOT 2
- [Question] 在title中应用rich富文本标签失败 HOT 2
- [Bug] Vue3 + uniapp + 移动端H5 设置 dataZoom 属性后不生效 (type: 'inside'; // 水平滑动 start;end;)都不生效 HOT 2
- [Bug] Brush selection - missing most points after progressive re-render HOT 12
- [Feature] Is there any copyright restriction on the China map in your source code? HOT 1
- [Bug] Radar line under area
- [Feature] Tooltips on line series - also show on line segments HOT 3
- minMargin 的用法在文档里面为什么搜不到? HOT 2
- [Feature] Make sankey diagram dragable and be able to zoom in/out HOT 1
- xAxis.axisLabel. formatter渲染时会运行两遍 HOT 1
- The picture size of series.tree.symbol is wrong in svg render,but normal in canvas render.(svg渲染模式下树图节点图片尺寸被压缩) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echarts.