Commit f8a176be authored by chris.yang's avatar chris.yang

feat:饼图新增提示框

parent b43c3de2
......@@ -45,6 +45,7 @@ export default {
...this.elementInfo.option,
color: ['#1089E7', '#F57474', '#56D0E3', '#F8B448', '#8B78F6'],
tooltip: {
...this.elementInfo.option.tooltip,
trigger: 'item',
formatter: '{a}\n{b}:{c}({d}%)'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment