随笔分类 - echarts
摘要:watch: { dataList: { handler() { if (this.chart) { this.chart.dispose(); this.chart = null; } this.initChart(); }, deep: true, // immediate: true }, }
阅读全文
摘要:来自:https://www.jianshu.com/p/90bf22936439 侵删除 //图表导出-自己的方法 toolbox: { show: true, feature: { saveAsImage: { show: true, title: "保存图片", excludeComponen
阅读全文
摘要:<template> <div ref="myChart" :class="className" :style="{ height: height, width: width }" /> </template> <script> import * as echarts from "echarts";
阅读全文
摘要:<template> <div :class="className"> <div :id="id" class="spiritChartBox"></div> </div> </template> <script> import { mapState } from "vuex"; import ec
阅读全文