驾驶舱
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user