摘要:
<template> <div class="about"> <!-- <h2>This is an aboutEchart page</h2> --> <div id="myChart" ref="myChart"></div> </div> </template> <script> import 阅读全文
摘要:
https://www.cnblogs.com/cjh-strive/p/11065005.html xAxis属性代表echarts图表的x轴设置代码如下 xAxis : [ { type : 'category', // type:坐标轴类型。 // [ default: 'category' 阅读全文
摘要:
解决办法: // 实例化echarts对象 var/let myChart = echarts.init(this.$refs.myChart) 阅读全文