【Echarts使用】之基准线markLine
设置了两条基准线1234567891011121314151617181920212223242526272829303132333435markLine: {    symbol: "none",    data: [{        label: {            width: "30",            position: 'start',            formatter: t('sleepManage_cycle.sameChart.rs'),            fontSize: '10',            color: '#86899D',            overflow: 'break',        },        silent: false,        lineStyle: {            type: "das ...
【Echarts使用】之 图例选中状态
图例选中状态表。
12345678legend:{    selected: {        // 选中'系列1'        '系列1': true,        // 不选中'系列2'        '系列2': false    }}
使用
1234567legend: {    show: true,    selected: {      '1星': true, '2星': true, '3星': true, '4星': false, '5星': false    },    bottom: 0},
【Echarts使用】之 x/y轴刻度、文字、轴线样式、分割线
隐藏 x/y 轴刻度123456789101112131415161718// x轴xAxis: {    type: 'category',    splitLine: { show: false },    data: ['11/25', '11/26', '11/27', '11/28', '11/29', '11/30', '12/1'],    axisTick: {        show: false //隐藏x轴刻度    },},// y轴yAxis: {    type: 'category',    splitLine: { show: false },    data: ['11/25', '11/26', '11/27', & ...
https的图片在移动端展示问题
问题描述引入的 src 图片地址是 https 时,在 pc 端和 h5 均正常显示,但在手机端均无法显示,并且图片链接在微信里面也无法打开;
解决方案123456789<meta name="referrer" content="never" />// 或<img  src="https://example.com/images/myimage.jpg"  alt="Some image"  referrerpolicy="no-referrer"/>
12345678910111213当网站使用refresh字段进行跳转的时候,大多数浏览器不发送referer;从用户从一个HTTPS的网站点击链接到另一个HTTP的网站时,不发送referer;html5中,a标签的rel = “noreferrer”, 可以让浏览器不发送referer;使用Data URI scheme链接的,浏览器也不发送referer;使用Content Security Policy ...