Skip to content

Commit 9ba4057

Browse files
fix(图表): 修复子弹图修改实际值颜色,图例色块丢失的问题
1 parent a4d7d00 commit 9ba4057

File tree

1 file changed

+1
-1
lines changed
  • core/core-frontend/src/views/chart/components/js/panel/charts/bar

1 file changed

+1
-1
lines changed

core/core-frontend/src/views/chart/components/js/panel/charts/bar/bullet-graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export class BulletGraph extends G2PlotChartView<G2BulletOptions, G2Bullet> {
365365
'measure',
366366
measureName || chart.yAxis[0]?.name,
367367
'square',
368-
bullet.bar.measures.fill[0],
368+
[].concat(bullet.bar.measures.fill)[0],
369369
bullet.bar.ranges.symbolSize
370370
)
371371
)

0 commit comments

Comments
 (0)