var html = document.getElementsByTagName("html")[0]; var width = html.clientWidth; var tooltipFontSize = 14 / 1280 * width; var fontSize = 10 / 1280 * width; var legendFontSize = 10 / 1280 * width; var labelFontSize = 10 / 1280 * width; var itemHeight = 8 / 1280 * width; var itemWidth = 10 / 1280 * width;
echarts字体适配
猜你喜欢
转载自www.cnblogs.com/Byme/p/10842877.html
今日推荐
周排行