Charting with Dygraphs: Data sampling depending on zoom

纵然是瞬间 提交于 2019-12-22 23:24:22

问题


Although Dygraphs performs very well compared to other solution, when viewing more and more data points, the performance inevitably slows.

I already have all my data loaded locally. Is there a way for Dygraphs to intelligently display a lower resolution (in terms of number of data points) and then show more on zoom?


回答1:


There's no built-in facility, but it is possible. See this thread for an example of one user who pulled it off: https://groups.google.com/forum/#!topic/dygraphs-users/kgdNdt1A0dk



来源:https://stackoverflow.com/questions/18397655/charting-with-dygraphs-data-sampling-depending-on-zoom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!