GitHub user madankgit created a discussion: Chart Legend: Limited Flexibility 
in Selection and Display

### Bug description

Superset chart legends offer limited control over selecting, filtering, and 
customizing legend entries. Users cannot easily restrict which legend values 
appear or control their display behavior, reducing flexibility in chart 
configuration.

**Steps to Reproduce**

1. Create any chart with categorical breakdown (e.g., Bar, Line, or Area chart).
2. Add Multiple dimension to Group By / Series to generate multiple legend 
entries.
3. Open the Customize tab and review available legend-related options.

<br><br>
**Expected Behavior**

Users should be able to selectively include or exclude legend values, limit the 
number of legend entries, control legend display behavior to improve chart 
clarity, and optionally reveal hidden legend values via tooltips.

<img width="646" height="259" alt="Image" 
src="https://github.com/user-attachments/assets/3d68045a-6b29-48c7-aa50-c9e5669c1d11";
 />

<img width="673" height="286" alt="Image" 
src="https://github.com/user-attachments/assets/7c772ef0-af51-4835-a717-8887e4fc922a";
 />

<br><br>
**Actual Behavior**

All legend values are automatically displayed with limited configuration 
options, regardless of relevance or visual clarity.

<img width="686" height="274" alt="Image" 
src="https://github.com/user-attachments/assets/6c0e353f-8410-4f7b-9b6e-23f297596c81";
 />

<br><br>
**Impact**

Charts become cluttered and harder to interpret when many legend values exist.
Users must rely on dataset-level filtering or custom queries to manage legend 
visibility.

### Screenshots/recordings

_No response_

### Superset version

6.0.0

### Python version

3.9

### Node version

16

### Browser

Chrome

### 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/38194

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