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

chartjs / Chart.js / 2697
97%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2016 02:33PM 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
2697

push

travis-ci

etimberg
Fixed Issue with tooltip label display when given null data value (#3528)

When datasets.data contains a null value, the label displays incorrect
value.

code additions:
- unit tests for truthy label values (when data is null)
- checks to ensure handling of null value in getLabelByIndex method

added mock data sets from issue #3528 example

expect the return value from getLabelForIndex method to be valid (truthy)

added check for null of first data value in getLabelForIndex

fixed indentation and null comparison operator in code

fixed mistake in definition of firstData variable

changed testing for data on index 0 to using index variable

changed firstData to use value instead

condense the statments to use value variable

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

3805 of 4326 relevant lines covered (87.96%)

787.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/scales/scale.time.js
Jobs
ID Job ID Ran Files Coverage
1 2697.1 19 Nov 2016 02:33PM UTC 0
87.96
Travis Job 2697.1
Source Files on build 2697
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2697
  • 4fbb1bdb on github
  • Prev Build on master (#2691)
  • Next Build on master (#2702)
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