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

   ### Bug description
   
   Superset version:
   5.0.0
   
   Chart type:
   ECharts Bar Chart
   
   Configuration:
   - Stacked bar
   - Show Value enabled
   - Currency prefix ($)
   - Near-zero negative values
   - Row limit: 50
   
   Steps to reproduce:
   1. Create dataset with mostly small negative values (e.g. -1 to -5)
   2. Add one large negative outlier (e.g. -4,000,000)
   3. Create ECharts Bar Chart
   4. Enable stacked bars
   5. Enable "Show Value"
   6. Apply currency prefix ($)
   
   Expected behavior:
   Numeric values should render correctly with currency formatting (e.g., 
$1,234), and should not display only the currency symbol.
   
   Actual behavior:
   Only the currency symbol "$" is rendered repeatedly without numeric values, 
particularly for near-zero values.
   Occurs in both horizontal and vertical orientation.
   
   <img width="1468" height="774" alt="Image" 
src="https://github.com/user-attachments/assets/caaccd2f-73e6-48ab-84be-e98d0fdf73d8";
 />
   
   <img width="1466" height="779" alt="Image" 
src="https://github.com/user-attachments/assets/0add6564-7736-43b5-9af0-aff2ceb88ca1";
 />
   
   
[warehouse_handling_dummy_data.csv](https://github.com/user-attachments/files/25383785/warehouse_handling_dummy_data.csv)
   
   Browser:
   Google Chrome 143.0.7499.193 (Official Build) (arm64)
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### 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