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

chartjs / Chart.js / 4087
97%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2017 11:08PM UTC
Jobs 1
Files 51
Run time 3s
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
4087

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

Jobs
ID Job ID Ran Files Coverage
1 4087.1 11 Nov 2017 11:08PM UTC 0
95.27
Travis Job 4087.1
Source Files on build 4087
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4087
  • 683e86e5 on github
  • Prev Build on master (#4084)
  • Next Build on master (#4096)
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