|
|
|
|
@ -99,7 +99,7 @@ export default {
|
|
|
|
|
this.chartOptions['xAxis']['data'] = Array.from({ length: 7 }, (_, i) =>
|
|
|
|
|
dayjs().subtract(i, 'day').format('YYYY-MM-DD')
|
|
|
|
|
).reverse();
|
|
|
|
|
this.chartOptions['series'][0]['data'] = [48, 62, 56, 49, 47, 54, 58];
|
|
|
|
|
this.chartOptions['series'][0]['data'] = [18, 22, 16, 19, 17, 24, 28];
|
|
|
|
|
console.log(this.chartOptions);
|
|
|
|
|
|
|
|
|
|
chart.setOption(this.chartOptions);
|
|
|
|
|
|