赞
踩
如图所示:
代码如下:
- <template>
- <div :class="className" :style="{height:height,width:width}" />
- </template>
-
- <script>
- import echarts from 'echarts'
- require('echarts/theme/macarons') // echarts theme
- import resize from '../mixins/resize'
- import xinjaingmap from '../mixins/xinjiangmap'
- const animationDuration = 6000
-
- export default {
- mixins: [resize],
- props: {
- className: {
- type: String,
- default: 'chart'
- },
- width: {
- type: String,
- default: '100%'
- },
- height: {
- type: String,
- default: '380px'
- }
- },
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。