echarts tooltip 自定义提示信息添加圆点

tooltip自定义时,给文字前加圆点

1 tooltip: {
2     formatter: '{b}<br /><span style="display:inline-block;position:relative; top:-3px;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:#3699F1"></span>{a}: {c}GB',
3 }

猜你喜欢

转载自www.cnblogs.com/mxyr/p/9376525.html