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

chartjs / Chart.js / 8563 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2020 02:03PM UTC
Files 61
Run time 6s
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

14 Sep 2020 01:57PM UTC coverage: 94.712% (+2.5%) from 92.219%
8563.1

push

travis-ci

web-flow
Better error message when importing charts incorrectly. (#7790)

* Created a better error message when chartjs can't find an element in the DOM.
Also, prevented an exception when trying to find the canvas assuming is an array. When it could also be null.

* Exception is not thrown anymore in getCanvas. Now this pr only prevents the
item.lenght exception and logs a better error when a chart cant be created.

* Deleted error description because i forgot chartjs is used in varois other ways than importing, also used isArray from helpers.core

* isArray check deleted because the type of the dom element received in getCanvas could be not only an array.

Co-authored-by: Lautaro Alonso Urtiaga <lautaro.urtiaga@10pines.com>

2973 of 3375 branches covered (88.09%)

5928 of 6259 relevant lines covered (94.71%)

7074.6 hits per line

Source Files on job 8563.1
  • Tree
  • List 0
  • Changed 44
  • Source Changed 1
  • Coverage Changed 44
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8043
  • Travis Job 8563.1
  • c20360d0 on github
  • Prev Job for on master (#8557.1)
  • Next Job for on master (#8567.1)
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