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 {};