echarts tooltip 字体大小
时间: 2023-08-29 21:11:53 浏览: 190
echarts tooltip 字体大小可以通过设置 option.tooltip.textStyle.fontSize 来进行调整。在给定的代码示例中,fontSize: 30 表示 tooltip 字体大小为30。如果你想改变它,只需在option中修改fontSize的值即可。例如,将fontSize的值改为8,即可将tooltip字体大小设置为8。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [echarts 修改tooltip字体大小](https://blog.csdn.net/qq_37550440/article/details/125290960)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [echarts.min.js](https://download.csdn.net/download/weixin_41965897/11267773)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文