From f2370f21f74fa252421a447f6bd4ecd4614b1017 Mon Sep 17 00:00:00 2001 From: ecoyoung Date: Thu, 17 Sep 2026 12:30:06 +0800 Subject: [PATCH] fix(line): refresh drag handles after data updates --- public/examples/ts/line-draggable.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/examples/ts/line-draggable.ts b/public/examples/ts/line-draggable.ts index 638a8a29..13573b74 100644 --- a/public/examples/ts/line-draggable.ts +++ b/public/examples/ts/line-draggable.ts @@ -148,6 +148,9 @@ function onPointDragging(dataIndex: number, pos: number[]) { } ] }); + + // Axis bounds may change, so move the drag handles to the updated points. + updatePosition(); } export {};