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

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

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2017 11:08PM UTC
Files 51
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

11 Nov 2017 11:02PM UTC coverage: 95.275% (+0.1%) from 95.172%
4087.1

push

travis-ci

etimberg
Avoid tooltip truncation in x axis if there is enough space (#3998)

* In tooltip x align calculation take into account caretSize

Truncation up to caretSize pixels could happen if label text produced tooltip element with size width:
* left side tooltip: width < x and width > x - caretSize
* right side tooltip: width < chartWidth - x and width > chartWidth - x - caretSize
Default caretSize = 5, so with default configuration truncation up to 5 pixels could happen.

* avoid tooltip truncation if possible
use whole chart area for displaying tooltip

* in xAlign calculation take into account caretPadding

* add tests for tooltip truncation avoid logic

* use caretX instead of xCaret

* fix lint errors

2496 of 2916 branches covered (85.6%)

4839 of 5079 relevant lines covered (95.27%)

1252.55 hits per line

Source Files on job 4087.1
  • Tree
  • List 0
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 4087
  • Travis Job 4087.1
  • 683e86e5 on github
  • Prev Job for on master (#4084.1)
  • Next Job for on master (#4096.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