ARBS-23 opened a new issue, #42560:
URL: https://github.com/apache/superset/issues/42560

   ### Bug description
   
   When creating or editing an ECharts **Bar Chart**, a custom **X Axis Title** 
set in the **Customize** tab is not shown on the chart. Instead, the X-axis 
title is overwritten/replaced by the **unit** (e.g. temporal grain / unit 
label).
   
   ### How to reproduce the bug
   
   1. Log in to Superset.
   2. Go to **Charts** → create a new **Bar Chart** (or open an existing Bar 
Chart and click **Edit**).
   3. Configure a valid dataset, X-axis, and metric, then run the query so the 
chart renders.
   4. Open the **Customize** tab.
   5. Enter a custom value in **X Axis Title** (for example: `My X Axis`).
   6. Observe the chart.
   
   ### Expected behavior
   
   The X-axis title on the chart should display the custom value entered in **X 
Axis Title** (e.g. `My X Axis`).
   
   ### Actual behavior
   
   The custom X-axis title is overwritten by the unit. The chart shows the unit 
instead of the user-provided axis title.
   
   ### Notes
   
   - Chart type: **Bar Chart** (ECharts)
   - Control: **Customize** → **X Axis Title**
   - Related historical issues (title disappearing / not sticking), but this 
report is specifically about the title being **replaced by the unit**, not 
disappearing: #29877, #30370
   
   ### Screenshots/recordings
   
   <img width="1629" height="878" alt="Image" 
src="https://github.com/user-attachments/assets/df7e428c-c931-4956-8fbc-62ce2434813b";
 />
   
   <img width="1834" height="887" alt="Image" 
src="https://github.com/user-attachments/assets/06123f3f-4f1c-41c7-aa89-78522b8a3f03";
 />
   
   ### Superset version
   
   6.1.0
   
   ### Python version
   
   3.11
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   ### Environment details
   - OS: Windows 11
   - Browser: Google Chrome (latest stable)
   - Deployment: Docker image `apache/superset:6.1.0-py311`
   
   ### Additional details
   - Reproduced while creating and while editing a Bar Chart.
   - Issue is visible immediately after entering the X Axis Title in the 
Customize panel (no save required to observe).
   - Please advise if this only occurs for temporal X-axes / certain time 
grains, or for all Bar Chart X-axis types.
   
   ### Checklist intent
   I searched existing issues for X-axis title / Bar Chart problems. Closest 
matches are about titles disappearing or margins (#29877, #30370, #30821), not 
about the title being overwritten by the unit.
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] 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