Speed up filled charts by down-sampling. fast-fill
authorDan Vanderkam <danvdk@gmail.com>
Tue, 11 Nov 2014 14:28:40 +0000 (09:28 -0500)
committerDan Vanderkam <danvdk@gmail.com>
Sun, 16 Nov 2014 21:31:55 +0000 (16:31 -0500)
commit20b87d28f1c0e4c71bd1f5254d66ad88c0fa6c28
tree603b4133c01594676b6c6573a40b85e6b6b6e28a
parenteec4fd0cb7dfc4dc661f00fca0c5ede94e8512a7
Speed up filled charts by down-sampling.

This is done by introducing a "fast canvas proxy", which elides
redundant moveTo and lineTo calls. This also reworks the order in which
the points are drawn to be more amenable to this optimization.
auto_tests/misc/local.html
auto_tests/tests/fast_canvas_proxy.js [new file with mode: 0644]
auto_tests/tests/step_plot_per_series.js
dygraph-canvas.js
tests/dense-fill.html [new file with mode: 0644]