仪表盘的柱图组件,想要鼠标移上去时有一个阴影背景。
可添加扩展属性
option = { "tooltip": { "trigger": "axis", "showDelay": 0, // 显示延迟,添加显示延迟可以避免频繁切换,单位ms "axisPointer": { "type": "shadow", "shadowStyle": { "color": "rgba(74, 211, 164, 0.15)", "width": 1 } } } }