GitHub user dosubot[bot] added a comment to the discussion: Regarding the 
issues related to the homepage in Superset version 5.0.0

<!-- Answer -->
You can adjust font size individually for some chart types in Superset 5.0. For 
example, BigNumber charts have controls for header, subtitle, subheader, and 
metric name font sizes—look for these options in the chart's control panel, 
where you can select from values like Tiny, Small, Normal, Large, and Huge. 
Word Cloud charts also let you set minimum and maximum font sizes directly in 
their control panel settings. 

However, for ECharts (like bar or line charts), Superset does not currently 
support customizing axis label font size or color through the UI or chart 
configuration. These properties are set in the frontend code and are not 
exposed for user override; changing them would require modifying the source 
code or requesting a feature enhancement from your Superset admin or 
developers. There is no built-in workaround for axis label font size in ECharts 
charts at this time 
[reference](https://github.com/apache/superset/discussions/35775).

BigNumber chart font size controls example:  
- `header_font_size`, `subtitle_font_size`, `subheader_font_size`, 
`metric_name_font_size` (selectable in the chart editor)  
Word Cloud chart font size controls example:  
- "Minimum Font Size" and "Maximum Font Size" (integer values in the control 
panel)  
[reference](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-word-cloud/src/plugin/controlPanel.ts)
  
[reference](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts)

If you need font size customization for a specific chart type, let me know 
which one and I can check for available options or workarounds.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/0e960bf2-c9d5-4c91-b1d4-7b0cb87ee2f5?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=You%20can%20adjust%20font%20size%20individually%20for%20some%20chart%20types%20in%20Superset%205.0.%20For%20example%2C%20BigNumber%20charts%20have%20controls%20for%20header%2C%20subtitle%2C%20subheader%2C%20and%20metric%20name%20font%20sizes%E2%80%94look%20for%20these%20options%20in%20the%20chart%27s%20control%20panel%2C%20where%20you%20can%20select%20from%20values%20like%20Tiny%2C%20Small%2C%20Normal%2C%20Large%2C%20and%20Huge.%20Word%20Cloud%20charts%20also%20let%20you%20set%20minimum%20and%20maximum%20font%20sizes%20directly%20in%20their%20control%20panel%20settings.%20%0A%0AHowever%2C%20for%20ECharts%20%28like%20bar%20or%20line%20charts%29%2C%20Superset%20does%20not%20currently%20support%20customizing%20axis%20label%20font%20size%20or%20color%20th
 
rough%20the%20UI%20or%20chart%20configuration.%20These%20properties%20are%20set%20in%20the%20frontend%20code%20and%20are%20not%20exposed%20for%20user%20override%3B%20changing%20them%20would%20require%20modifying%20the%20source%20code%20or%20requesting%20a%20feature%20enhancement%20from%20your%20Superset%20admin%20or%20developers.%20There%20is%20no%20built-in%20workaround%20for%20axis%20label%20font%20size%20in%20ECharts%20charts%20at%20this%20time%20%5Breference%5D%28https%3A//github.com/apache/superset/discussions/35775%29.%0A%0ABigNumber%20chart%20font%20size%20controls%20example%3A%20%20%0A-%20%60header_font_size%60%2C%20%60subtitle_font_size%60%2C%20%60subheader_font_size%60%2C%20%60metric_name_font_size%60%20%28selectable%20in%20the%20chart%20editor%29%20%20%0AWord%20Cloud%20chart%20font%20size%20controls%20example%3A%20%20%0A-%20%22Minimum%20Font%20Size%22%20and%20%22Maximum%20Font%20Size%22%20%28integer%20values%20in%20the%20control%20panel%29%20%20%0A%5Breference%5D%28https%
 
3A//github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-word-cloud/src/plugin/controlPanel.ts%29%20%20%0A%5Breference%5D%28https%3A//github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts%29%0A%0AIf%20you%20need%20font%20size%20customization%20for%20a%20specific%20chart%20type%2C%20let%20me%20know%20which%20one%20and%20I%20can%20check%20for%20available%20options%20or%20workarounds.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/36221)

GitHub link: 
https://github.com/apache/superset/discussions/36221#discussioncomment-15055780

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


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

Reply via email to