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

chartjs / Chart.js / 3356
97%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2017 04:11PM UTC
Jobs 1
Files 44
Run time 12min
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
3356

push

travis-ci

etimberg
Support hover animation duration during updates (#4300)

See discussion in the issue for context and possible approaches.

When invoking update() inside an event handler, such as onHover,
`options.hover.animationDuration` was not being respected. Given that
some use cases may require additional animation properties for the
manual update call, this commit changes that method signature to accept
a configuration object.

This object provides backwards compatibility with duration and lazy
properties, and also introduces the easing property so that the event
animation is different from the global one. 

Add tests that guarantee that when update is called manually with
arguments, it properly builds the _bufferedRequest or calls render with
the proper arguments.
It includes test cases for when update is called with legacy arguments
(duration and lazy) instead of the config object.

.update() documentation was previously updated but .render() was left
out. Since the backwards compatible change was also made to render(),
this commit adds documentation for it.

2267 of 2740 branches covered (82.74%)

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

4374 of 4740 relevant lines covered (92.28%)

941.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
100.0
src/core/core.controller.js
Jobs
ID Job ID Ran Files Coverage
1 3356.1 11 Jun 2017 04:11PM UTC 0
92.28
Travis Job 3356.1
Source Files on build 3356
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3356
  • 009ae4de on github
  • Prev Build on master (#3349)
  • Next Build on master (#3362)
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