This commit is contained in:
helloDy
2024-06-24 16:57:15 +08:00
parent 510f12e40b
commit 8437d52c1b
7 changed files with 133 additions and 42 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-01-21 14:43:06
* @LastEditors: DY
* @LastEditTime: 2024-06-19 15:13:23
* @LastEditTime: 2024-06-24 11:13:48
* @Description:
-->
<template>
@@ -40,7 +40,7 @@ export default {
},
height: {
type: String,
default: '30vh'
default: '35vh'
},
legendPosition: {
type: String,
@@ -140,20 +140,24 @@ export default {
xAxis: [
{
type: 'category',
// prettier-ignore
data: xAxis
name: '日期',
data: xAxis,
axisLabel: {
rotate: 25
}
}
],
yAxis: [
{
type: 'value'
type: 'value',
name: '单位:个'
}
],
grid: {
top: '20%',
top: '10%',
left: "1%",
right: "3%",
bottom: "1%",
right: "5%",
bottom: "0%",
containLabel: true
},
series: seriesList