随笔分类 -  echarts.js

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

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