echarts tooltip 阴影去掉
时间: 2023-10-09 17:07:12 浏览: 195
要去掉echarts tooltip的阴影,只需将代码中的axisPointer的type属性设置为空字符串即可。具体来说,在引用中的option对象的tooltip属性下的axisPointer对象的type属性中将值改为空字符串即可。修改后的代码如下所示:
```
option = {
color: ['#3398DB'],
tooltip: {
trigger: 'axis',
axisPointer: {
type: ''
}
},
// 其他属性...
};
```
这样修改后,echarts的tooltip就不会有阴影了。 <span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [echarts折线图阴影设置](https://blog.csdn.net/zyg1515330502/article/details/117706058)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [echarts对柱状图进行标注,以及取消hover时的阴影](https://blog.csdn.net/azj63323/article/details/101920500)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文