mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
fix(图表): 修复子弹图深色背景下目标值颜色为高亮颜色
This commit is contained in:
committed by
jianneng-fit2cloud
parent
7353488fca
commit
2ee91ad5ec
@@ -295,7 +295,14 @@ export const THEME_ATTR_TRANS_MAIN = {
|
||||
color: 'color',
|
||||
proportionSeriesFormatter: ['color']
|
||||
},
|
||||
tooltip: ['color']
|
||||
tooltip: ['color'],
|
||||
misc: {
|
||||
bullet: {
|
||||
bar: {
|
||||
target: ['fill']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const THEME_ATTR_TRANS_MAIN_SYMBOL = {
|
||||
|
||||
@@ -354,7 +354,7 @@ export class BulletGraph extends G2PlotChartView<G2BulletOptions, G2Bullet> {
|
||||
'target',
|
||||
targetName || chart.yAxisExt[0]?.name,
|
||||
'line',
|
||||
bullet.bar.target.fill,
|
||||
[].concat(bullet.bar.target.fill)[0],
|
||||
bullet.bar.ranges.symbolSize
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user