fardin-developer opened a new pull request, #33099:
URL: https://github.com/apache/superset/pull/33099
Fixes: #32985
## SUMMARY
This PR introduces support for displaying the **Metric name** in **Big
Number** chart types, including Big Number and Big Number with Time Comparison.
The metric name appears above the main number, styled consistently with
existing elements, and includes customization options in the control panel.
## BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
### CHANGES
- Added metric name display to:
- Big Number
- Big Number with Time Comparison
- Positioning and spacing follow existing patterns of Big Number and
subtitle.
- Metric name font size defaults to 24px and scales responsively with the
chart.
- Added toggle in Customize section to show/hide metric name.
- Added input to control metric name font size (similar to Subheader Font
Size).
### BEFORE/AFTER SCREENSHOTS
### Before
<!-- Metric name not shown -->


##
### After


https://github.com/user-attachments/assets/a95ef5a7-28c7-4985-81e5-ada59c931b34
### ADDITIONAL NOTES
- Ensured the feature behaves correctly across chart types and screen sizes.
- Maintained dynamic scaling and visual hierarchy.
- Verified with RTL support and Storybook examples.
### CHECKLIST
- [x] Displayed metric name above the number for all Big Number chart types.
- [x] Used responsive font scaling with base size 24px.
- [x] Added toggle and font size input to Customize controls.
- [x] Verified RTL compatibility.
--
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]