echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Is there any way to reduce font size with responsive for speedometer gauge value.

Open sanketinx opened this issue 3 years ago • 4 comments

Version

5.4

Link to Minimal Reproduction

No response

Steps to Reproduce

https://echarts.apache.org/examples/en/editor.html?c=gauge

Current Behavior

Value 9.8 overlapping on the gauge value.

https://ibb.co/R0q0mNW

Expected Behavior

Need to reduce font size according to the screen responsive width.

Environment

- OS: linux 
- Browser: All 
- Framework: Codeigniter 3.1.1

Any additional comments?

No response

sanketinx avatar Sep 27 '22 07:09 sanketinx

This cannot be responsive by itself but you can check (like whether n.toString().length > 2) before setOption and change the font size in the option.

Ovilia avatar Sep 28 '22 03:09 Ovilia

Thanks for the reply but it is not working for the 2-digit floating values. Is there any editor example that can be helpful? Thanks again. Waiting for reply.

sanketinx avatar Oct 10 '22 07:10 sanketinx

Hello, there is there any update?

sanketinx avatar Oct 20 '22 07:10 sanketinx

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Oct 19 '24 21:10 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Oct 27 '24 21:10 github-actions[bot]