mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 修复子弹图区间背景色与图例颜色不一致的问题
This commit is contained in:
@@ -89,7 +89,6 @@ export class BulletGraph extends G2PlotChartView<G2BulletOptions, G2Bullet> {
|
||||
dimensionList: items[0].dimensionList,
|
||||
quotaList: []
|
||||
}
|
||||
console.log(`Field: ${field}`)
|
||||
items.forEach(item => {
|
||||
const quotaId = item.quotaList[0]?.id
|
||||
const v = item.value || 0
|
||||
@@ -181,7 +180,6 @@ export class BulletGraph extends G2PlotChartView<G2BulletOptions, G2Bullet> {
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log(actionParams)
|
||||
action(actionParams)
|
||||
})
|
||||
configPlotTooltipEvent(chart, newChart)
|
||||
@@ -330,7 +328,7 @@ export class BulletGraph extends G2PlotChartView<G2BulletOptions, G2Bullet> {
|
||||
'dynamic',
|
||||
rangeName || chart.extBubble[0]?.name,
|
||||
bullet.bar.ranges.symbol,
|
||||
bullet.bar.ranges.fill,
|
||||
[].concat(bullet.bar.ranges.fill)[0],
|
||||
bullet.bar.ranges.symbolSize
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user