上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 37 下一页
摘要: <script type="module" src="./asset/index.js"></script> 把type换成module 阅读全文
posted @ 2022-08-08 15:52 SimoonJia 阅读(52) 评论(0) 推荐(0)
摘要: 超好用的定时器-轮播 循环执行等 const timer = useRef(null); // 定时器 const createTimer = () => { if (timer.current null) { timer.current = setInterval(() => { // conso 阅读全文
posted @ 2022-08-04 18:38 SimoonJia 阅读(812) 评论(0) 推荐(0)
摘要: <div className="innerImg" style={{ backgroundImage: 'url(' + innerKing + ')', backgroundPositionX: 80, backgroundPositionY: 20, }} ></div> 阅读全文
posted @ 2022-08-04 11:11 SimoonJia 阅读(316) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: axisLine: { symbol: ['rect', 'none'], symbolSize: [50, 4], symbolOffset: [0, -10], } 阅读全文
posted @ 2022-07-29 20:04 SimoonJia 阅读(43) 评论(0) 推荐(0)
摘要: 。 。 这种连续的背景板需要自己写背景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)
摘要: 富文本实现 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)
摘要: xAxis/yAxis.inverse: true,反向坐标轴 xAxis. boundaryGap//坐标轴两边留白策略,开启后柱状图在刻度之间 阅读全文
posted @ 2022-07-29 13:25 SimoonJia 阅读(537) 评论(0) 推荐(0)
摘要: 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 下一页