摘要: <template> <div class="about"> <!-- <h2>This is an aboutEchart page</h2> --> <div id="myChart" ref="myChart"></div> </div> </template> <script> import 阅读全文
posted @ 2020-03-25 15:13 努力~努力再努力~ 阅读(619) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/cjh-strive/p/11065005.html xAxis属性代表echarts图表的x轴设置代码如下 xAxis : [ { type : 'category', // type:坐标轴类型。 // [ default: 'category' 阅读全文
posted @ 2020-03-25 11:58 努力~努力再努力~ 阅读(5056) 评论(1) 推荐(0) 编辑
摘要: 解决办法: // 实例化echarts对象 var/let myChart = echarts.init(this.$refs.myChart) 阅读全文
posted @ 2020-03-25 10:12 努力~努力再努力~ 阅读(11664) 评论(0) 推荐(1) 编辑