vandelpavel commented on issue #10478:
URL: https://github.com/apache/echarts/issues/10478#issuecomment-1961666712
@zekraouin I'm using vue3 too, here is a different way to handle that issue
and still want to use the autoresize feature:
```vue
<template>
<v-chart v-if="showChart" :option="myOptions" autoresize />
</template>
<script setup lang="ts">
import { onMounted, ref } from "vue";
import VChart from "vue-echarts";
const showChart = ref(false);
const myOptions = {
// ...
};
onMounted(() => (showChart.value = true));
</script>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]