随笔分类 - echarts.js
摘要:<template> <div :style="{ width: boxWidth, height: boxHeight, backgroundImage: imgsbg }" :class="[bgType == '1' ? 'module-box' : 'module-box-2']" clas
阅读全文
摘要:<div class="content"> <div> <div class="chart-rising-list" v-for="(item, index) in proportionList.slice(0, 5)" :key="item + index" > <div class="chart
阅读全文
摘要:<template> <module-box moduleType="ykjdl" bgType="2" :styleObj="styleObj" :cityShow="true" title="景区游客接待量 TOP 10"> <div class="module-content"> <div c
阅读全文
摘要:<template> <div ref="echartsBox" class="chart" :style="{ height: height, width: width }" /> </template> <script> import * as echarts from "echarts"; i
阅读全文
摘要:<template> <div class="tag-cloud" ref="wrapper"> <p v-for="(item, index) in data" :key="index" ref="tag" @click="clickTag(item)" @dblclick="dbclickTag
阅读全文
摘要:来自:http://t.zoukankan.com/zizaiwuyou-p-10637179.html 侵删 使用echart的雷达图的时候,如果文字越界的解决办法记录,标签文字自动换行 前几天项目中有一个图表的是用echart生成的,遇到一个问题,就是在手机端显示的售时候,如果文字太长就会超出d
阅读全文
摘要:重点的代码是eChart.off("click"); 在给ehcart绑定事件时,要先写上以上代码。
阅读全文
摘要:<template> <div :class="className" :style="{height:height,width:width}"/> </template> <script> import echarts from 'echarts' export default { props: {
阅读全文