Giter Club home page Giter Club logo

Comments (9)

kurokyjs avatar kurokyjs commented on May 1, 2024 1

你好,kener 。echarts目前有没有优化后台数据变更前台折线图平缓滑动的效果呢?

from echarts.

zensh avatar zensh commented on May 1, 2024

筒子们都想要这个功能
http://jsfiddle.net/dragonfish/8wUAt/

from echarts.

kener avatar kener commented on May 1, 2024

谢谢关注,ECharts可以说是数据驱动的,动态更新数据就能达到走动的效果,早已经有人这样做了。
#45

from echarts.

zensh avatar zensh commented on May 1, 2024

用哪个API更新数据?我用myChart.setSeries会导致整个画布闪动,图表都是重新绘制的,而不是平滑走动。

要不老大再加个demo演示一下。

from echarts.

kener avatar kener commented on May 1, 2024

恩,没有动态变换的效果,在第一个折线的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.

xiujunma avatar xiujunma commented on May 1, 2024

我感觉echarts的强项在于统计数据的静态展示,支持很多种图形和图形上面操作.
对于动态或者增量添加数据这种情况的支持并不擅长, 硬搞也不太现实.
想问问,是否有计划改善这方面?
其实,专注于某方面也是不错的.

from echarts.

kener avatar kener commented on May 1, 2024

擅长“动态或者增量添加数据这种情况”应该是怎么个表现?
目前echarts通过数据层的改变(交由使用方掌控)是可以实现数据的动态修改,只是目前没有做两个状态间的平滑动画切换,这方面后续会有优化~

from echarts.

xiujunma avatar xiujunma commented on May 1, 2024

如果有个增量增加单条数据的接口就会好许多.

from echarts.

kener avatar kener commented on May 1, 2024

好吧,了解,我想想~

from echarts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.