Showing
1 changed file
with
2 additions
and
2 deletions
@@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
43 | {value:v.value,date:v.date} | 43 | {value:v.value,date:v.date} |
44 | ) | 44 | ) |
45 | legendData.push( | 45 | legendData.push( |
46 | - {value:i+1,date:v.date} | 46 | + {value:v.number,date:v.date} |
47 | ) | 47 | ) |
48 | }) | 48 | }) |
49 | proxy.legendData=legendData | 49 | proxy.legendData=legendData |
@@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
82 | }, | 82 | }, |
83 | xAxis: { | 83 | xAxis: { |
84 | type: 'category', | 84 | type: 'category', |
85 | - data: proxy.legendData, | 85 | + data: proxy.legendData.reverse(), |
86 | axisLine:{ | 86 | axisLine:{ |
87 | show:true,//是否显示坐标线 | 87 | show:true,//是否显示坐标线 |
88 | lineStyle: { | 88 | lineStyle: { |
-
Please register or login to post a comment