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.66k stars 1.84k forks source link

Color scale doesn't reset when changing chart #170

Closed Mitch90 closed 3 years ago

Mitch90 commented 6 years ago

Case example: I pick a dataset and choose a scatterplot and for some reason change the color scale from ordinal to linear. If I now pick a different visual model, let's say a Gantt chart, the scale will remember my last choice and start as linear.

Mitch90 commented 6 years ago

A possible enhancement: when creating the chart, there could be a check for the variable type in the color box. If number the chart calls for the linear scale, if string for an ordinal an so on.

uf0 commented 3 years ago

now fixed in v2