当前位置:   article > 正文

vue项目中继承echarts地图_echarts.extendsmap

echarts.extendsmap

如图所示:

代码如下:

  1. <template>
  2. <div :class="className" :style="{height:height,width:width}" />
  3. </template>
  4. <script>
  5. import echarts from 'echarts'
  6. require('echarts/theme/macarons') // echarts theme
  7. import resize from '../mixins/resize'
  8. import xinjaingmap from '../mixins/xinjiangmap'
  9. const animationDuration = 6000
  10. export default {
  11. mixins: [resize],
  12. props: {
  13. className: {
  14. type: String,
  15. default: 'chart'
  16. },
  17. width: {
  18. type: String,
  19. default: '100%'
  20. },
  21. height: {
  22. type: String,
  23. default: '380px'
  24. }
  25. },
本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号