• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chartjs / chartjs-plugin-zoom / 35190097117
89%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2026 06:31AM UTC
Jobs 5
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2026 06:30AM UTC coverage: 88.906% (+0.03%) from 88.88%
35190097117

push

github

web-flow
fix: give the plugin geometry its own non-nullable Point (#970)

Chart.js 4.5 widened Point to `{ x: number | null; y: number | null }` so it
can also describe a gap in a dataset. The plugin used that same type for
canvas geometry, so bumping the dev dependency to 4.5.1 (#962) fails to
compile with 15 errors across core, gestures, handlers, scale.types and utils.

Every one of those is a zoom centre, a drag corner, a pan delta or a hit test
position -- a real coordinate that is never null. Rather than null check values
that cannot be null, Point is now declared in src/types.ts and the geometry
imports it from there. Chart.js keeps being imported for everything else.

This also tightens the public API in the right direction: passing a Chart.js
Point, which may now hold nulls, into chart.zoomRect() or chart.pan() no
longer type checks, and it would have misbehaved at runtime.

Compiles and passes the browser tests against both 4.4.8 and 4.5.1, so #962
should go green once it is rebased on this.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

316 of 401 branches covered (78.8%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 3 files covered. (100.0%)

814 of 870 relevant lines covered (93.56%)

1373.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 windows-latest-firefox - 35190097117.1 17 Sep 2026 06:32AM UTC 9
88.3
GitHub Action Run
2 ubuntu-latest-firefox - 35190097117.2 17 Sep 2026 06:31AM UTC 9
88.3
GitHub Action Run
3 unit - 35190097117.3 17 Sep 2026 06:31AM UTC 3
57.68
GitHub Action Run
4 windows-latest-chrome - 35190097117.4 17 Sep 2026 06:32AM UTC 9
87.92
GitHub Action Run
5 ubuntu-latest-chrome - 35190097117.5 17 Sep 2026 06:31AM UTC 9
88.3
GitHub Action Run
Source Files on build 35190097117
  • Tree
  • List 9
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35190097117
  • 88f98784 on github
  • Prev Build on master (#35189342292)
  • Next Build on master (#35190190228)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc