interactiveinstitute / energy-intelligence

Visualisation touch screen app for SP
1 stars 0 forks source link

Performance improvement: only update the chart when needed #17

Open sander opened 11 years ago

sander commented 11 years ago

Currently, the chart is updated on each Chart.quickUpdate invocation. Because this can be quite intensive (drawing paths with thousands of points), it makes the interface less responsive. Better would be for example to only redraw when enough time has proceeded to cause at least a 1px change.