会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Simoon
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
37
下一页
2022年8月8日
静态页面写ES6
摘要: <script type="module" src="./asset/index.js"></script> 把type换成module
阅读全文
posted @ 2022-08-08 15:52 SimoonJia
阅读(52)
评论(0)
推荐(0)
2022年8月4日
定时器setTimeout、循环定时函数setInterval及闭包问题解决(setState失效)
摘要: 超好用的定时器-轮播 循环执行等 const timer = useRef(null); // 定时器 const createTimer = () => { if (timer.current null) { timer.current = setInterval(() => { // conso
阅读全文
posted @ 2022-08-04 18:38 SimoonJia
阅读(812)
评论(0)
推荐(0)
react行内样式写Background相关属性
摘要: <div className="innerImg" style={{ backgroundImage: 'url(' + innerKing + ')', backgroundPositionX: 80, backgroundPositionY: 20, }} ></div>
阅读全文
posted @ 2022-08-04 11:11 SimoonJia
阅读(316)
评论(0)
推荐(0)
2022年8月2日
MarkLine
摘要: markLine:{ silent: true,//鼠标经过该线时不触发事件 data:[{ xAxis: 0 }], lineStyle:{ color: 'rgba(42,244,255,0.2)', width:0, }, label: {//标线的文本 show: false, }, sym
阅读全文
posted @ 2022-08-02 15:42 SimoonJia
阅读(198)
评论(0)
推荐(0)
npm ERR: code ERESOLVE 处理方法
摘要: PS E:\VUEJS 2.6\test2\xmall> npm install -D sass-loader node-sass npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While r
阅读全文
posted @ 2022-08-02 11:01 SimoonJia
阅读(937)
评论(1)
推荐(0)
2022年7月29日
X轴Y轴交叉 与单独的小线头
摘要: axisLine: { symbol: ['rect', 'none'], symbolSize: [50, 4], symbolOffset: [0, -10], }
阅读全文
posted @ 2022-07-29 20:04 SimoonJia
阅读(43)
评论(0)
推荐(0)
Echart柱状图背景板
摘要: 。 。 这种连续的背景板需要自己写背景series echart只提供斑马线背景板 areaStyle 重点: 1.需要写两个y轴 2.需要多写一个series 并把data处设为[100,100,100,100,...] 3.需要为每个series都写上yAxisIndex或者xAxisIndex
阅读全文
posted @ 2022-07-29 17:55 SimoonJia
阅读(1240)
评论(0)
推荐(0)
rich富文本模式写label
摘要: 富文本实现 axisLabel: { formatter: function (value) { console.log(value); return '{a| },{b|' + value + '}'; }, margin: 0, rich: { a: { height: 74.6, width:
阅读全文
posted @ 2022-07-29 14:55 SimoonJia
阅读(145)
评论(0)
推荐(0)
Echart xAxis/yAxis常用属性
摘要: xAxis/yAxis.inverse: true,反向坐标轴 xAxis. boundaryGap//坐标轴两边留白策略,开启后柱状图在刻度之间
阅读全文
posted @ 2022-07-29 13:25 SimoonJia
阅读(537)
评论(0)
推荐(0)
Max,Min与showMinLabel,showMaxLabel连用
摘要: Max,Min 是xAxis的属性:可以设置坐标轴的最大最小值 showMinLabel,showMaxLabel是axisLabel的属性: 可以控制是否显示最大最小值的label hideOverlap (是否隐藏重叠的标签。)
阅读全文
posted @ 2022-07-29 11:54 SimoonJia
阅读(401)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
37
下一页
公告