hexo-tag-echarts3
hexo-tag-echarts3 copied to clipboard
颜色与设置不符合
name: "发布总数",
type: "line",
yAxisIndex: 1,
smooth: true,
showAllSymbol: true,
symbol: "circle",
symbolSize: 10,
itemStyle: {
color: "#3275FB"
},
lineStyle: {
color: "#3275FB",
shadowColor: 'rgba(0, 0, 0, 0.3)',
width: 3,
shadowBlur: 15,
shadowOffsetY: 15,
},
data: [0, 1, 5, 9, 15, 31]
},
{
name: "该月发布数",
type: "bar",
barWidth: 35,
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: "#FF9A22"
},
{
offset: 1,
color: "#FFD56E"
}
]),
barBorderRadius: [30, 30, 0, 0],
}
},
data: [0, 1, 4, 4, 6, 16]
}
]```
上面代码
我在第十行设置color为3275FB,但本地预览和部署上去之后显示的都是深红色
是echarts主题的问题吗