![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
echart + vue
来宝卉
这个作者很懒,什么都没留下…
展开
-
vue + echart +map 地图实现省下钻到市
第一步:安装依赖和全局注册echart安装步骤请看我另一篇文章vue + echart +map实现中国,省,市地图第二步: methods里定义方法,先初始化地图实例(自己查文档加地图底色)getDownMap(){ let that = this; let chart = that.$echarts.init(document.getElementById("mapChart&am原创 2018-11-23 14:41:31 · 5489 阅读 · 5 评论 -
vue + echart +map中国地图,省市地图,区县地图
第一步:安装依赖包npm install echarts --save在main.js 中全局引入import echarts from 'echarts'Vue.prototype.$echarts = echarts第二步:引入地图文件(此处路径可以参照node_modules 文件夹里的,echarts依赖包中具体路径写)1.中国地图 import "echarts/map...原创 2018-11-23 14:22:55 · 35910 阅读 · 6 评论