xy 2 years ago
parent 6cd6fa4c0b
commit 06d0d85964

@ -355,7 +355,7 @@
position: 'center', position: 'center',
fontWeight: "bold", fontWeight: "bold",
formatter: function (params) { formatter: function (params) {
return params.name + "\n" + (item.rate * 100) + "%" return params.name + "\n" + (item.rate * 100).toFixed(2) + "%"
} }
} }
}, },

Loading…
Cancel
Save