Skip to content

Commit

Permalink
fix: marker label's background is visible by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kkxxkk2019 committed Dec 27, 2023
1 parent 7bdf47b commit b9ba5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vchart/src/component/marker/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export function transformLabelAttributes(label: IMarkerLabelSpec) {
};
}

if (labelBackground.visible) {
if (labelBackground.visible !== false) {
labelAttrs.panel = {
visible: true,
...transformToGraphic(labelBackground.style)
Expand Down

0 comments on commit b9ba5b7

Please sign in to comment.