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

chartjs / Chart.js / 8563
97%

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

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%)

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

5928 of 6259 relevant lines covered (94.71%)

7074.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8563.1 14 Sep 2020 02:03PM UTC 0
94.71
Travis Job 8563.1
Source Files on build 8563
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8563
  • c20360d0 on github
  • Prev Build on master (#8557)
  • Next Build on master (#8567)
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