SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

Bugfix: return nearest non-null point on interaction when spanGaps=true (#11986)

* First step in fixing the bug of spanGaps null point interaction

* Complete bugfix of spanGaps null point interaction

* Add two tests in core.interaction.tests for the bugfix change

* Remove odd line break

* Use isNullOrUndef helper for point value checks

* Add 10 more test cases for nearest interaction when spanGaps=true
M
Mariss Tubelis committed
a77a63b16bc99fb588ca5252bfa62a09f32db2a6
Parent: 1e3d6e5
Committed by GitHub <noreply@github.com> on 1/3/2025, 3:50:56 PM