🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
路径:D:\ireport365\ireport365.war\js\enduser\designer\vs-component-echarts.js 大概70行左右 ~~~ var axisColorSeries = []; axisColorSeries.push({ main: "rgba(255, 198, 55, 1)", minor: "rgba(247, 148, 65, 1)" }); axisColorSeries.push({ main: "#ff7f50", minor: "#db7346" }); axisColorSeries.push({ main: "#40CDF9", minor: "#2fc439" }); axisColorSeries.push({ main: "#ff6347", minor: "#d6583c" }); axisColorSeries.push({ main: "#a7c5e6", minor: "#427fa3" }); axisColorSeries.push({ main: "#c558db", minor: "#b24ec2" }); axisColorSeries.push({ main: "#6495ed", minor: "#5c86db" }); axisColorSeries.push({ main: "#40e0d0", minor: "#35bdb4" }); axisColorSeries.push({ main: "#7b68ee", minor: "#6f5cd1" }); // var colorValueSeries = ["#006BB7", "#93C6AF", "#C03837", "#32cd32", "#6495ed", "#ff69b4", "#ba55d3", "#cd5c5c", "#ffa500", "#40e0d0", "#1e90ff", "#ff6347", "#7b68ee"]; var colorValueSeries = ["rgba(255, 198, 55, 1)","rgba(247, 148, 65, 1)","rgba(34, 190, 203, 1)","rgba(107, 152, 255, 1)","rgba(99, 68, 252, 0.94)","rgba(221, 139, 215, 1)","rgba(231, 67, 102, 1)","rgba(232, 122, 123, 1)","rgba(244, 225, 1, 1)","rgba(255, 115, 118, 1)","rgba(73, 135, 208, 1)","rgba(160, 126, 124, 1)","rgba(211, 148, 81, 1)"]; // var colorValueSmallSeries = ["#214778", "#CF181D", "#9094C1", "#E6C69D", "#6495ed", "#5CC0DF"]; var colorValueSmallSeries = ["rgba(255, 198, 55, 1)","rgba(247, 148, 65, 1)","rgba(34, 190, 203, 1)","rgba(107, 152, 255, 1)","rgba(99, 68, 252, 0.94)","rgba(221, 139, 215, 1)"]; ~~~ 在barOptionTemplate对象替换颜色 颜色值在最下面 ![](https://box.kancloud.cn/aeaff014e201180b244efc4f5f81e9ec_746x261.png) 在axisOptionTemplate对象里 换下颜色 ![](https://box.kancloud.cn/f616d089baa17fb517b95eb04be4ed9e_964x472.png) 颜色值 `rgba(255, 198, 55, 1)`