rawgraphs / rawgraphs-app

A web interface to create custom vector-based visualizations on top of RAWGraphs core
https://rawgraphs.io
Apache License 2.0
8.62k stars 1.84k forks source link

Debounce Form Inputs #52

Closed zikes closed 10 years ago

zikes commented 10 years ago

On larger datasets and visualizations (such as the Titanic sample data + Alluvial Diagram) changes to the form inputs can cause the page to hang, even before the new value shows in the form field.

I think implementing something like Underscore.js's debounce() function [1] on these fields would make this much smoother, and even eliminate a lot of processing entirely when using the step controls or typing a multi-digit number.

[1] http://underscorejs.org/#debounce

giorgiocaviglia commented 10 years ago

Thank you for your suggestion @Zikes! We added that behavior in the new version! 36041126be6e85a7d019dfde16af6fb69c573241