随笔分类 -  echarts

摘要:watch: { dataList: { handler() { if (this.chart) { this.chart.dispose(); this.chart = null; } this.initChart(); }, deep: true, // immediate: true }, } 阅读全文
posted @ 2023-01-16 16:29 abcByme 阅读(133) 评论(0) 推荐(0) 编辑
摘要:来自:https://www.jianshu.com/p/90bf22936439 侵删除 //图表导出-自己的方法 toolbox: { show: true, feature: { saveAsImage: { show: true, title: "保存图片", excludeComponen 阅读全文
posted @ 2022-12-13 10:23 abcByme 阅读(1122) 评论(0) 推荐(0) 编辑
摘要:<template> <div ref="myChart" :class="className" :style="{ height: height, width: width }" /> </template> <script> import * as echarts from "echarts"; 阅读全文
posted @ 2021-06-16 16:40 abcByme 阅读(2608) 评论(0) 推荐(0) 编辑
摘要:<template> <div :class="className"> <div :id="id" class="spiritChartBox"></div> </div> </template> <script> import { mapState } from "vuex"; import ec 阅读全文
posted @ 2019-11-04 10:24 abcByme 阅读(664) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示