sk_fems_ui commit
This commit is contained in:
31
components/common/eChart/LineC.vue
Normal file
31
components/common/eChart/LineC.vue
Normal file
@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div
|
||||
class="chartLine"
|
||||
:style="`height: ${VChartHeight ? VChartHeight : '100%'}`"
|
||||
>
|
||||
<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 {};
|
||||
},
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user