GitHub user sfirke created a discussion: What parameters should be carried over 
or reset to default when chart types are switched?

### Bug description

In Superset 4.1.2, I make a pie chart (default row limit 100). Looks good. Then 
I switch to a line chart showing different dimensions over time. The values 
carry over - which is good, except the row limit is still 100. If I had started 
with a blank new line chart it would be the chart default value of 10000.

The value of 100 is good for a pie chart but on a line chart will likely cause 
the immediate truncation of data.

IMO the right behavior would be to not carry over the row limit when chart type 
is switched and instead adopt the new chart type's default.

### Screenshots/recordings

_No response_

### Superset version

4.1.2

### Python version

3.9

### Node version

16

### Browser

Firefox

### Additional context

_No response_

### Checklist

- [ ] I have searched Superset docs and Slack and didn't find a solution to my 
problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.

GitHub link: https://github.com/apache/superset/discussions/43733

----
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