Skip to content

fix(comments): redraw comments on zoom/unzoom for non-highstock charts#857

Merged
kuzmadom merged 1 commit intomainfrom
CHARTS-12340
May 4, 2026
Merged

fix(comments): redraw comments on zoom/unzoom for non-highstock charts#857
kuzmadom merged 1 commit intomainfrom
CHARTS-12340

Conversation

@kuzmadom
Copy link
Copy Markdown
Contributor

@kuzmadom kuzmadom commented May 4, 2026

Visual comments on non-highstock charts were not redrawn after zoom/unzoom. This caused comments outside the zoomed range to disappear permanently if the user toggled a legend item while zoomed in: hideComments + drawComments ran with the zoomed extremes (marking out-of-range comments as isFit = false), and when zooming out there was nothing to restore them.

@kuzmadom kuzmadom requested a review from korvin89 as a code owner May 4, 2026 13:52
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 18.64% 286 / 1534
🔵 Statements 18.73% 296 / 1580
🔵 Functions 14.5% 48 / 331
🔵 Branches 12.95% 149 / 1150
File CoverageNo changed files found.
Generated in workflow #124 for commit 6f9b756 by the Vitest Coverage Report Action

@gravity-ui-bot
Copy link
Copy Markdown
Contributor

🎭 Tests Report is ready.
🎭 Coverage Report is ready.

@gravity-ui-bot
Copy link
Copy Markdown
Contributor

Preview is ready.

@kuzmadom kuzmadom merged commit 7579c9a into main May 4, 2026
5 checks passed
@kuzmadom kuzmadom deleted the CHARTS-12340 branch May 4, 2026 13:57
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.

3 participants