RhoInc / CAT

This Charting Application Tester (CAT) lets users make and adjust web graphics on the fly.
https://rhoinc.github.io/CAT/
MIT License
1 stars 0 forks source link

Add a /?draw option #85

Closed jwildfire closed 4 years ago

jwildfire commented 4 years ago

Chart will draw when page is loaded if ?draw is included in URL.

Just the parameter is needed - values are fine, but are ignored. That is ?draw, ?draw=true, ?draw=false, ?draw=Picasso are all fine and have the same result.

samussiah commented 4 years ago

Why wouldn't you want the chart to draw?

jwildfire commented 4 years ago

@samussiah Right now the default behavior is to wait until the user clicks render. Saves us from loading unneeded libraries if user is going to tweak stuff. Once we deal more rigorously with onDestroy cleanup, I think it makes sense to draw by default, but for now, going to leave default as false.

samussiah commented 4 years ago

closed in #86