Alice-608 opened a new issue, #37921:
URL: https://github.com/apache/superset/issues/37921

   ### Bug description
   
   Bug description
   
   Summary
   This is a residual bug from the fixed issue  (BUG: 6.0.0 Mixed Chart - 
Duplicate label rendering in tooltip/chart area #37055). 
   
   The initial fix resolved general duplicate labels, but the first metric is 
still duplicated when adding multiple metrics + 1+ Group By dimensions in the 
same Query.
   
   How to Reproduce
   1. Deploy the latest master branch of Superset
   2. Create a Mixed Chart → Query A:
      - Metrics: `score_one`, `score_two` (unique aliases, no duplicates)
      - Group By: `name` (categorical dimension)
   3. Run the query and save the chart
   4. Observe the legend/tooltip: The first metric (e.g. `score_one`) appears 
twice (e.g. `score_one, Jack` and `score_one, score_two, Jack`)
   
    Expected Results
   All metrics/dimensions render only once without duplication.
   
   Actual Results
   First metric is duplicated in the same position; query data is correct, only 
frontend rendering is broken.
   
   Screenshots
   
   <img width="3282" height="915" alt="Image" 
src="https://github.com/user-attachments/assets/a117c71c-e278-4bf6-9a4b-3cdf98fb67a3";
 />
   
   Related Issues
   - Original fixed issue: #37055
   - This is an edge case not covered in the initial fix.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to