width: 1, //连线粗细
color: “#F21612”, //轨迹线颜色
}
},
// 阴影区域
areaStyle: {
// 渐变颜色
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: ‘rgba(243, 78, 98, 0.8)’
}, {
offset: 1,
color: ‘rgba(255, 255, 255, 0)’
}]),
// 常规设置
// normal: {
// opacity: 1,//阴影面积 0无 1全
// color: “#ddd”,
// origin: “start”
// },
}
},{
name: “bbb的值”,
type: ‘line’,
smooth: true, //是否平滑显示
symbol: ‘circle’,//每个小点点的样式风格
showSymbol: false,//默认不展示小点点 经过再显示
showAllSymbol: false,
z: 10,
symbolSize: 5,
data: [222, 111, -333, 234, -30, 100, 110],
silent: false,
itemStyle: {
normal: {
color: ‘#A9B2B8’,//轨迹线和小点点的颜色
borderColor: ‘#A9B2B8’,//小点点的边框颜色
}
},
lineStyle: {
normal: {
width: 1, //连线粗细
color: “#A9B2B8”, //轨迹线颜色
}
},
// 阴影区域
areaStyle: {
// 渐变颜色
《大厂前端面试题解析+Web核心总结学习笔记+企业项目实战源码+最新高清讲解视频》无偿开源 徽信搜索公众号【编程进阶路】 color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,