Commit c173b272 authored by van.chen's avatar van.chen

调整图表上增加时间

parent 91ba371c
...@@ -158,7 +158,7 @@ export class ProProfileAdvancedComponent implements OnInit { ...@@ -158,7 +158,7 @@ export class ProProfileAdvancedComponent implements OnInit {
option.title.text = this.trans[type] + this.trans[item]; option.title.text = this.trans[type] + this.trans[item];
option.yAxis.name = '数值(' + res.unit + ')'; option.yAxis.name = '数值(' + res.unit + ')';
option.series[0].name = this.trans[type] + this.trans[item]; option.series[0].name = this.trans[type] + this.trans[item];
option.tooltip.formatter = '{a}: {c}' + res.unit; option.tooltip.formatter = '{a}<br/>时间: {b}<br/>数据值: {c}' + res.unit;
this[type + item] = option; this[type + item] = option;
} }
}) })
......
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