Comments (9)
你好,kener 。echarts目前有没有优化后台数据变更前台折线图平缓滑动的效果呢?
from echarts.
筒子们都想要这个功能
http://jsfiddle.net/dragonfish/8wUAt/
from echarts.
谢谢关注,ECharts可以说是数据驱动的,动态更新数据就能达到走动的效果,早已经有人这样做了。
#45
from echarts.
用哪个API更新数据?我用myChart.setSeries会导致整个画布闪动,图表都是重新绘制的,而不是平滑走动。
要不老大再加个demo演示一下。
from echarts.
恩,没有动态变换的效果,在第一个折线的example的控制台上输入这段代码看看,目前只能做到这种走到效果
setInterval(function(){option.animation = false; option.series[0].data.push(option.series[0].data.shift());option.series[1].data.push(option.series[1].data.shift());myChart.setOption(option);}, 1000)
from echarts.
我感觉echarts的强项在于统计数据的静态展示,支持很多种图形和图形上面操作.
对于动态或者增量添加数据这种情况的支持并不擅长, 硬搞也不太现实.
想问问,是否有计划改善这方面?
其实,专注于某方面也是不错的.
from echarts.
擅长“动态或者增量添加数据这种情况”应该是怎么个表现?
目前echarts通过数据层的改变(交由使用方掌控)是可以实现数据的动态修改,只是目前没有做两个状态间的平滑动画切换,这方面后续会有优化~
from echarts.
如果有个增量增加单条数据的接口就会好许多.
from echarts.
好吧,了解,我想想~
from echarts.
Related Issues (20)
- [Bug] When rich is used in the legend of a pie chart, some styles will not take effect. HOT 1
- [Feature] 1111
- [Feature] 基于appendData可以海量增量更新数据,目前还需要海量覆盖更新数据 HOT 1
- [Bug] Stacked bar graph with overlapping bar breaks when having only 2 data points HOT 4
- [Bug] 手机端 使用ecahrts contextmenu 点击事件无法获取 HOT 3
- [question] 折线图的起始位置如何做偏移 HOT 1
- 图表tooltip联动的bug HOT 1
- [Feature] built-in and direct support of error bar
- [Bug] Chart affected by other chart options HOT 4
- [Bug] type custom 绘制矩形,数据量大时缩放时会出现颜色变淡,甚至没有颜色的情况 HOT 1
- [Bug] How to display details about objects which are behind the clicked/hovered object. HOT 2
- 手机端H5 使用echarts,我需要点击折线图或柱状图的时候获取seriesName,可是试了好多方法获取不到,涉及到多系列柱状图和折线图 HOT 1
- [Bug] Gauge progress 'auto' color not reflected when using SVG renderer
- [Bug] Brush unable to detect exact selected value in Funnel, Radar & Gauge HOT 2
- [Bug] Unable to set multiple legend rows, when legend type is scroll. HOT 2
- [Support] Multiples X-Axis HOT 3
- is there possible to enable decal pattern on mouse hover HOT 1
- [Bug] Tooltip Formatter - Map chart - data parameter is undefined.... HOT 1
- Bar chart adds extra space outside of timerange
- [Bug] After calling clear, there are still remnants in the chart
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.