|
@@ -135,7 +135,7 @@ export default {
|
|
|
tooltip: { trigger: 'axis', backgroundColor: 'transparent' },
|
|
tooltip: { trigger: 'axis', backgroundColor: 'transparent' },
|
|
|
xAxis: {
|
|
xAxis: {
|
|
|
type: 'category',
|
|
type: 'category',
|
|
|
- data: this.columns,
|
|
|
|
|
|
|
+ data: this.columns.reverse(),
|
|
|
},
|
|
},
|
|
|
yAxis: [
|
|
yAxis: [
|
|
|
{
|
|
{
|
|
@@ -156,13 +156,13 @@ export default {
|
|
|
series: [
|
|
series: [
|
|
|
{
|
|
{
|
|
|
name: '最大负荷',
|
|
name: '最大负荷',
|
|
|
- data: this.columns.map(key => row[`${key}_peakLoad`]),
|
|
|
|
|
|
|
+ data: this.columns.reverse().map(key => row[`${key}_peakLoad`]),
|
|
|
type: 'line',
|
|
type: 'line',
|
|
|
yAxisIndex: 0,
|
|
yAxisIndex: 0,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: '最大负荷率',
|
|
name: '最大负荷率',
|
|
|
- data: this.columns.map(key => row[`${key}_loadRate`]),
|
|
|
|
|
|
|
+ data: this.columns.reverse().map(key => row[`${key}_loadRate`]),
|
|
|
type: 'line',
|
|
type: 'line',
|
|
|
yAxisIndex: 1,
|
|
yAxisIndex: 1,
|
|
|
},
|
|
},
|