提交 1c4e35d8 编写于 作者: F fengxuefeng

profilte 柱状图tooltip保留4位小数

上级 9dd5a66d
......@@ -880,6 +880,9 @@ export default {
option.color = ['#6C92FA'];
option.tooltip = {
trigger: 'axis',
formatter: (params)=>{
return `${params[0].name}<br/>${params[0].marker}${params[0].value.toFixed(4)}`;
},
};
option.series = [
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册