Skip to content

Commit 19e41fe

Browse files
committed
feat: improve line label display
1 parent de11dd8 commit 19e41fe

File tree

1 file changed

+1
-0
lines changed
  • frontend/src/views/chat/component/charts

1 file changed

+1
-0
lines changed

frontend/src/views/chat/component/charts/Line.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export class Line extends BaseG2Chart {
4242
dx: -10,
4343
dy: -12,
4444
},
45+
transform: [{ type: 'overlapDodgeY' }, { type: 'exceedAdjust' }, { type: 'overlapHide' }],
4546
})
4647

4748
this.chart?.point().style('fill', 'white').tooltip(false)

0 commit comments

Comments
 (0)