驾驶舱

This commit is contained in:
‘937886381’
2024-05-10 11:10:42 +08:00
parent 9c9dba5452
commit f312be08bf
14 changed files with 131 additions and 92 deletions

View File

@@ -7,7 +7,9 @@
<template>
<div class="double-ring-chart">
<div ref="chart" class="double-ring-chart__container"></div>
<div class="double-ring-chart__container">
<div ref="chart" style="height: 90%;"></div>
</div>
<!-- style="{ height: vHeight + 'vh' }" -->
<div class="double-ring-chart__legend">
<div v-for="item in legendItems" :key="item.label" class="legend-item">
@@ -169,7 +171,10 @@ function calculateItems(period, valueTuple) {
}
.double-ring-chart__container {
flex: 1;
flex:1;
padding: 0 10%;
/* margin: 10%; */
/* min-width: 300px; */
height: 0;
}