bogdantica opened a new issue, #36008:
URL: https://github.com/apache/superset/issues/36008

   ## Screenshot
   
   <img width="1278" height="718" alt="Image" 
src="https://github.com/user-attachments/assets/1769407a-6579-4dfa-8860-1b83b23141e4";
 />
   
   ## Description
   
   When rendering horizontal bar charts, if a bar reaches near the maximum 
width of the chart (close to 100%), the data label at the end of the bar (e.g., 
“5.0%”) can be partially or completely cut off. It looks like there isn’t 
enough padding or margin on the right side of the chart canvas to fully display 
the label.
   
   **Example:**
   In the attached screenshot, the "No Media Found" bar displays 5. instead of 
5.0%, indicating the label is being clipped.
   
   **Steps to Reproduce**
   
   Create a horizontal bar chart (e.g., “Bar Chart” visualization type).
   
   Use percentage labels enabled via “Show Values”.
   
   Adjust data so one bar approaches or reaches the chart’s max width.
   
   Observe that the label on the longest bar is partially hidden or clipped on 
the right edge.
   
   **Expected Behavior**
   
   All labels, including those on the longest bars, should be fully visible 
within the chart area — ideally with automatic right padding or dynamic label 
positioning.
   
   **Actual Behavior**
   Labels on the longest bars are truncated due to insufficient right margin.
   
   **Environment**
   Apache Superset version: [5.0]
   
   Chart type: Horizontal Bar Chart
   


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