This commit is contained in:
zk
2023-12-21 16:42:22 +08:00
parent 5a33aa1df4
commit dd5a47e7fb
4 changed files with 13 additions and 7 deletions
@@ -61,6 +61,7 @@ export function sleepCharts({ time, short, long, awake, type }) {
borderColor: '#1b7ef2',
},
legend: {
orient: 'horizontal',
data: ['清醒', '浅睡', '深睡'],
textStyle: {
color: '#ffffff',
@@ -69,7 +70,7 @@ export function sleepCharts({ time, short, long, awake, type }) {
height: 40,
itemHeight: 14,
top: -5,
left: '52%',
right: '15%',
},
color: ['#14B3F8', '#6D7BEB', '#5451DC'],
xAxis: {