Commit 234c0222 authored by wends's avatar wends

add legend to eline components

parent b71be264
...@@ -84,6 +84,9 @@ export default { ...@@ -84,6 +84,9 @@ export default {
text: `${this.title}监控图表`, text: `${this.title}监控图表`,
subtext: `单位为: ${this.description}` subtext: `单位为: ${this.description}`
}, },
legend: {
data: [this.title]
},
xAxis: { xAxis: {
data: xAxis data: xAxis
}, },
......
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