sk_fems_ui commit
This commit is contained in:
30
components/common/eChart/PieB.vue
Normal file
30
components/common/eChart/PieB.vue
Normal file
@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="chartPie" :style="`height: ${VChartHeight}`">
|
||||
<v-chart class="chart" :option="chartOption" autoresize />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import VChart from 'vue-echarts';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
VChart,
|
||||
},
|
||||
props: {
|
||||
VChartHeight: {
|
||||
require: true,
|
||||
},
|
||||
chartOption: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
require: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
option: null,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user