一、图例
1.1 图例块自定义样式
<span style="display: inline-block; margin-right: 5px; border-radius: 10px; width: 9px; height: 9px; background-color: red"></span>
二、tooltip
2.1 格式化展示
tooltip: {
trigger: 'axis',
formatter: '{b0}<br /><span style="display: inline-block; margin-right: 5px; border-radius: 10px; width: 9px; height: 9px; background-color: #4169E1"></span>{a0}: {c0}%<br />' +
'<span style="display: inline-block; margin-right: 5px; border-radius: 10px; width: 9px; height: 9px; background-color: #8EEF86"></span>{a1}: {c1}%'
}