Fix the snapshot charts (#474)

This commit is contained in:
Fine0830 2025-06-18 16:31:44 +08:00 committed by GitHub
parent 35a1ff9b24
commit c5e45ab97a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,11 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<LineChart
:intervalTime="appStore.intervalTime"
:data="metrics"
:style="{ width: `800px`, height: `${metrics.length * 300}px` }"
/>
<div :style="{ width: `800px`, height: `${metrics.length * 300}px` }">
<LineChart :intervalTime="appStore.intervalTime" :data="metrics" />
</div>
</template>
<script lang="ts" setup>
import { computed } from "vue";