From 19e41fe7631e73959e9694cfd267371418cd7467 Mon Sep 17 00:00:00 2001 From: ulleo Date: Mon, 16 Jun 2025 17:03:48 +0800 Subject: [PATCH] feat: improve line label display --- frontend/src/views/chat/component/charts/Line.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/chat/component/charts/Line.ts b/frontend/src/views/chat/component/charts/Line.ts index 6618592f..55dbb2ea 100644 --- a/frontend/src/views/chat/component/charts/Line.ts +++ b/frontend/src/views/chat/component/charts/Line.ts @@ -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)