产品-薪酬统计分析页面开发
This commit is contained in:
parent
6c615453f7
commit
e08ba04657
|
|
@ -247,9 +247,6 @@ export const mapBarOptions = (params) => ({
|
|||
normal: {
|
||||
color: function (params) {
|
||||
return colorList[params.seriesIndex] || colorList[Math.floor((Math.random() * colorList.length))];
|
||||
},
|
||||
lineStyle: {
|
||||
color: colorList[index] || colorList[Math.floor((Math.random() * colorList.length))]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -262,7 +259,7 @@ export const mapBarOptions = (params) => ({
|
|||
rotate: "90",
|
||||
formatter: function (params) {
|
||||
if (parseInt(params.value) === 0) {
|
||||
return `${format_with_regex(params.value)} ${params.seriesName}`;
|
||||
return ``;
|
||||
} else {
|
||||
return [
|
||||
`{a|${format_with_regex(params.value)}} {b|${params.seriesName}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue