feat: improve line label display

This commit is contained in:
ulleo
2025-06-16 17:03:48 +08:00
parent de11dd8aef
commit 19e41fe763
@@ -42,6 +42,7 @@ export class Line extends BaseG2Chart {
dx: -10,
dy: -12,
},
transform: [{ type: 'overlapDodgeY' }, { type: 'exceedAdjust' }, { type: 'overlapHide' }],
})
this.chart?.point().style('fill', 'white').tooltip(false)