摘要: //堆叠条形图 <template> <!-- ref="myechart"定义该div也就是画布的名字,在this.$echarts.init(this.$refs.myechart) 图表初始化的时候使用 this.$refs.myechart 也可以替换为 document.getElemen 阅读全文
posted @ 2019-08-13 15:10 阿蒙不萌 阅读(1835) 评论(0) 推荐(0) 编辑
摘要: // 全图默认背景 // backgroundColor: ‘rgba(0,0,0,0)’, // 默认色板 color: ['#ff7f50','#87cefa','#da70d6','#32cd32','#6495ed', '#ff69b4','#ba55d3','#cd5c5c','#ffa5 阅读全文
posted @ 2019-08-13 14:53 阿蒙不萌 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 该示例使用 vue-cli 脚手架搭建 安装echarts依赖 npm install echarts -S 或者使用国内的淘宝镜像: 安装 npm install -g cnpm --registry=https://registry.npm.taobao.org 1 使用 cnpm instal 阅读全文
posted @ 2019-08-13 10:55 阿蒙不萌 阅读(735) 评论(0) 推荐(0) 编辑