forked from github/dataease
fix(视图): 修复符号地图色彩字段为时间时不显示符号
This commit is contained in:
parent
0d78dd4cd3
commit
44058dbc82
@ -455,7 +455,11 @@ export default {
|
||||
})
|
||||
const colorAxis = JSON.parse(chart.xaxisExt)
|
||||
if (colorAxis && colorAxis.length) {
|
||||
this.pointLayer.color('color', colors)
|
||||
this.pointLayer
|
||||
.scale('color', {
|
||||
type: 'cat'
|
||||
})
|
||||
.color('color', colors)
|
||||
} else {
|
||||
this.pointLayer.color(colors[0])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user