Fix: keep line visible when zooming between data points by Akshat-0001 · Pull Request #12176 · chartjs/Chart.js

@Akshat-0001

When zooming into a range with no visible data points,
the line controller skipped rendering entirely.

This change includes boundary points before and after
the visible range so line segments crossing the viewport
are still drawn.

Fixes chartjs#12174

AI review requested due to automatic review settings

January 10, 2026 14:40
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@Akshat-0001