javascript - How to adapt echarts fonts to mobile devices with different resolutions
过去多啦不再A梦
过去多啦不再A梦 2017-05-19 10:09:28
0
2
690


#echarts How to adapt fonts to mobile devices with different resolutions? Just adjust it at one resolution, but at other resolutions the overall font will become smaller and appear inappropriate. How can I make the font fit? Or can this fontSize be obtained? Why doesn't writing it as a percentage work? Urgent request, please help me with some familiarity.

过去多啦不再A梦
过去多啦不再A梦

reply all(2)
小葫芦

The fonts in echarts are numbers. If set to 100%, strings are useless.
There is a way to dynamically set the fontSize at different resolutions;

洪涛

Have you set 『<meta name="viewport" content="width=device-width, initial-scale=1" />』

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template