diff --git a/src/pages/echarts.vue b/src/pages/echarts.vue index 5e5800a..4e45b57 100644 --- a/src/pages/echarts.vue +++ b/src/pages/echarts.vue @@ -9,6 +9,7 @@ import { LegendComponent, } from 'echarts/components' import VChart, { THEME_KEY } from 'vue-echarts' +import type { EChartsOption } from 'echarts' use([ CanvasRenderer, @@ -23,7 +24,7 @@ provide( computed(() => (isDark.value ? 'dark' : '')), ) -const option = ref({ +const option = ref({ title: { text: 'Traffic Sources', left: 'center', @@ -63,7 +64,10 @@ const option = ref({