通过对立面两个颜色的调整,来得到你想要的渐变色
{
value: 5,
name: '其他3',
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: '#988bfd'
}, {
offset: 1,
color: '#56eeff'
}])
}
}
}
通过对立面两个颜色的调整,来得到你想要的渐变色
{
value: 5,
name: '其他3',
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: '#988bfd'
}, {
offset: 1,
color: '#56eeff'
}])
}
}
}
上一篇:正则匹配所有li标签内容
用 css3 模拟一个渐变式圆点加载效果。
前端经常会用到渐变背景,如果总是用图片,显得自己很不专业,对于背景渐变很多人都会,也经常用,那么今天七娃总结一个 border边框的渐变实现方法:border: ...
css渐变兼容总结: filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,fi...
【代码】[css] 文字渐变。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M