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

chartjs / chartjs-plugin-zoom / 11959362075
89%

Build:
DEFAULT BRANCH: master
Ran 21 Nov 2024 06:26PM CUT
Jobs 4
Files 8
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

21 Nov 2024 06:25PM CUT coverage: 83.198%. Remained the same
11959362075

push

github

web-flow
Clamp drag rectangle to chart area (#896)

* Clamp drag rectangle to chart area

I believe this is a better UI, and it also fixes some issues with incorrect zoom ranges when dragging the rectangle outside of the chart area.

To help implement this, I copied the clamp helper function from chartjs-plugin-annotation.

Fixes #895

* Combine beginPoint and endPoint to fix ESLint max arguments

* Add a test

230 of 292 branches covered (78.77%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 1 file covered. (100.0%)

488 of 571 relevant lines covered (85.46%)

1552.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 windows-latest-firefox - 11959362075.1 21 Nov 2024 06:28PM CUT 8
82.85
GitHub Action Run
2 ubuntu-latest-firefox - 11959362075.2 21 Nov 2024 06:26PM CUT 8
82.85
GitHub Action Run
3 windows-latest-chrome - 11959362075.3 21 Nov 2024 06:28PM CUT 8
82.5
GitHub Action Run
4 ubuntu-latest-chrome - 11959362075.4 21 Nov 2024 06:26PM CUT 8
83.2
GitHub Action Run
Source Files on build 11959362075
  • Tree
  • List 8
  • Changed 7
  • Source Changed 0
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
52.59
src/hammer.js180 92 55 37 797.0 + 5916 27
83.66
src/core.js248 126 107 19 382.0 + 262 14
84.0
src/plugin.js148 55 48 7 1957.0 + 13715 5
86.8
src/handlers.js284 + 10138 122 16 2784.0 + 31749 10
90.14
src/utils.js108 43 40 3 268.0 + 224 4
98.28
src/scale.types.js305 109 108 1 424.0 + 563 2
100.0
src/index.js7 1 1 0 4.0 0 0
100.0
src/state.js22 7 7 0 44487.0 + 47911 0
Showing 1 to 8 of 8 entries
  • Previous
  • 1
  • Next
  • ►
    83.2
    src/
  • Back to Repo
  • 2dabfe44 on github
  • Prev Build on master (#11958839075)
  • Next Build on master (#11960623240)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc