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

chartjs / Chart.js / 2301
97%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2016 12:46PM UTC
Jobs 1
Files 38
Run time 2s
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

pending completion
2301

push

travis-ci

Simon Brunel
Fix 3267 Add "onHover" functionality for legend (#3271)

Add "onHover" to the legend options that will hold a user defined function (default is null) and called when a "mousemove" event is registered on top of a label item, with same parameters as the "onClick" option.

Also introduced logic that determines if the type of event passed to the legend "handleEvent" function is one we can handle. Currently allowing "click" and "mousemove" events. If the event is not one of those we stop the function execution (this is for the sake of reusing the legend hitbox calculations).

16 of 16 new or added lines in 2 files covered. (100.0%)

3354 of 3975 relevant lines covered (84.38%)

654.15 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
100.0
src/core/core.legend.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/core/core.legend.js
Jobs
ID Job ID Ran Files Coverage
1 2301.1 08 Sep 2016 12:46PM UTC 0
84.38
Travis Job 2301.1
Source Files on build 2301
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2301
  • 38f85c98 on github
  • Prev Build on master (#2300)
  • Next Build on master (#2303)
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

© 2026 Coveralls, Inc