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

chartjs / Chart.js / 2631
97%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2016 12:20AM UTC
Jobs 1
Files 40
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
2631

push

travis-ci

etimberg
Fix context state restoration on destroy

In many cases, the canvas render size is changed by the lib, causing the state stack to be discarded, meaning that we can't use save() and restore() to release the context with its initial state (i.e. before creating the chart). Since we don't need (want) to manually save / restore the context initial state, simply make sure to reset it to the default state to give a fresh context back to the user. That also means we don't need to revert the scale when the pixel device ratio is not 1.

3780 of 4316 relevant lines covered (87.58%)

763.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2631.1 08 Nov 2016 12:20AM UTC 0
87.58
Travis Job 2631.1
Source Files on build 2631
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2631
  • efced478 on github
  • Prev Build on master (#2627)
  • Next Build on master (#2649)
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