Skip to content

Commit 0ba6080

Browse files
committed
fix: remove the default label logic
1 parent d73379f commit 0ba6080

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/plots/src/core/plots/bullet/adaptor.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ export function adaptor(params: Params) {
146146
return mapField ? get(mapField, [yField, index], mapString) : mapString;
147147
},
148148
},
149-
// labels 对应的 yField
150-
labels: i !== 0 ? map(c.labels, (l) => ({ ...l, text: yField })) : undefined,
151149
};
152150
});
153151
set(options, 'scale.color.range', colors);

0 commit comments

Comments
 (0)