问题
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