Skip to content

Commit e2f0255

Browse files
authored
fix: 修复bullet的demo写错问题 (#1783)
1 parent 829a8be commit e2f0255

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

examples/bullet/basic/demo/basic.ts

+4-10
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,10 @@ const bulletPlot = new Bullet('container', {
1515
rangeField: 'ranges',
1616
targetField: 'target',
1717
xField: 'title',
18-
style: {
19-
range: {
20-
color: '#5B8FF9',
21-
},
22-
measure: {
23-
color: '#5B8FF9',
24-
},
25-
target: {
26-
color: '#5B8FF9',
27-
},
18+
color: {
19+
range: '#5B8FF9',
20+
measure: '#5B8FF9',
21+
target: '#5B8FF9',
2822
},
2923
xAxis: {
3024
line: null,

0 commit comments

Comments
 (0)