Skip to content

fix(line): refresh drag handles after data updates - #186

Open
ecoyoung wants to merge 1 commit into
apache:gh-pagesfrom
ecoyoung:fix/drag-handles-21663
Open

ecoyoung wants to merge 1 commit into
apache:gh-pagesfrom
ecoyoung:fix/drag-handles-21663

Conversation

@ecoyoung

@ecoyoung ecoyoung commented Sep 17, 2026

Copy link
Copy Markdown

Prepared with Codex and approved for submission by @ecoyoung.

After a drag changes the axis range, the visible points move but the transparent drag handles stay in their old positions. Call updatePosition() after updating the series so the next point remains draggable.

Fixes apache/echarts#21663 in the example. Companion handbook update: apache/echarts-handbook#198.

Tested in Chrome with automatic and fixed axis bounds. The original fails the second drag with automatic bounds; this change passes. TypeScript compilation and formatting checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Cannot drag when yAxis min and max not set and first symbol dragged beyond the displayed value by ECharts

1 participant