GitHub user mistercrunch added a comment to the discussion: What parameters 
should be carried over or reset to default when chart types are switched?

tagging @kasiazjc for design input. Clearly there's a need for a viz_type 
switcher logic. It seems the "receiving" or "destination" viz_type should 
state/host the logic for what to do with incoming control values, and the 
framework should notify the user about what's been altered or set. 

Maybe message "toasts" is the way to.
Toast would go something like 
```
Adjusted some controls while switching from {{ viz_type_label_source }} to {{ 
viz_type_label_destination }}:
- Row Limit was set from 10000 to 100. {{ reason "as bar chart can't typically 
accomodate more than N values" }}
- Stack config was set to "stacked" as it's generally a better option for area 
charts
- {{ ... }}
```

GitHub link: 
https://github.com/apache/superset/discussions/43733#discussioncomment-18222984

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to