Echarts柱状图的每个柱子显示不同颜色,亲测有效
话不多说,上图echarts中的柱状图https://echarts.apache.org/examples/zh/editor.html?c=bar-simple要每个柱子颜色不一样,当柱子数>颜色组数时循环调用颜色组数效果图:option = { xAxis: { type: 'category', data: ['1', '2', '3', '4', '5', '6', '7','8','9','10','11'] }, yAxis.
原创
2022-04-28 17:28:23 ·
4773 阅读 ·
4 评论