LCHansson / ggplot_interactive

An interactive ggplot tool for experimentation and learning
GNU Affero General Public License v3.0
0 stars 0 forks source link

"add aesthetic" feature #1

Open LCHansson opened 9 years ago

LCHansson commented 9 years ago

It must be possible to add and remove aesthetics.

Could this be done by raising a menu of available aesthetics upon clicking the aes keyword? Or should the aesthetics array contain a grey + sign, just like the final row of the syntax, like so: aes(x = cat +)?

LCHansson commented 9 years ago

The second solution (aes(x = cat (+))) seems the most feasible. The (+) needs to not be included on copy. The same goes for the corner case where the user wants to manually copy-paste her code.