在整理收集到的50套数据可视化大屏模板时,遇到一个问题,可视化数据大屏 里面引用的echarts版本各不相同,这对echarts使用cdn加速造成了麻烦,如果不知道echarts版本的话,就没办法使用cdn,但是echarts源码中并没有对版本号做标注,这咋整呢?
查看echar...
yekong
4周前 (02-24) 69℃
0喜欢
Echarts tooltip formatter在进行自定义处理是发现圆点不在了。通过打印可以看到marker这个参数,这就是我们需要的圆点,将其写入到代码中就可以了。
通过marker实现圆点
option.tooltip.formatter = function(par...
yekong
9个月前 (07-01) 680℃
0喜欢
vue可视化开发,要求echarts 最多显示5条数据,超过5条数据定时切换显示。
数据切换代码
<script>
import top from './top/index'
import bottom from './bottom/index'
import {qu...
yekong
9个月前 (06-29) 591℃
2喜欢
Echarts 关系网效果图
运行实例
代码
<template>
<div class="echarts1" ref="echarts">
</div>
</template>...
yekong
1年前 (2022-01-08) 742℃
0喜欢
vue大屏页面开发中Echarts地图默认颜色是白色,有点丑需要设置一个默认颜色来调整一下。
areaColor: '#00BCFF',
itemStyle: {
normal: {
borderColo...
yekong
1年前 (2021-12-01) 2088℃
1喜欢
代码
const hexToRgba = (hex, opacity) => {
let rgbaColor = ''
const reg = /^#[\da-f]{6}$/i
if (reg.test(hex...
yekong
1年前 (2021-10-25) 724℃
0喜欢
splitLine: {
show: true,
lineStyle: {
color: 'rgba(43, 68, 124, 1)',
wi...
yekong
1年前 (2021-10-06) 1147℃
3喜欢
使用的jquery.liMarquee
<template>
<div class="itemTable">
<div class="itemtitle">预算执行</div>
...
yekong
1年前 (2021-10-04) 680℃
1喜欢
这个是由于vue的版本与vue-template-compiler不一致导致的
先更新vue-template-compiler模块
yarn add vue-template-compiler
再输入
yarn upgrade –latest vue-template-com...
yekong
2年前 (2021-09-02) 1022℃
0喜欢
npm install https://gitee.com/yelingkong/echarts-faguang.git --save -dev
npm install git://git@gitee.com:yelingkong/echarts-faguang.git --s...
yekong
2年前 (2021-09-02) 852℃
0喜欢