上面是UI给的图,下面是使用代码绘制的图,怎么能把颜色设置一样
series: [{
name: ‘成交量1’,
data: 15,
stroke: false,
color: “#ff8f6d”
}, {
name: ‘成交量2’,
data: 35,
color: “#96d4fd”
name: ‘成交量3’,
data: 78,
color: “#a5fc9d”
name: ‘成交量4’,
data: 63,
color: “#a79cfc”
name: ‘成交量5’,
color: “#fbc86f”
}],
wxcharts.js config 配置里面 color 的是控制颜色的(数组)
去看看人家的文档