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

chartjs / Chart.js / 5641
97%

Build:
DEFAULT BRANCH: master
Ran 27 Feb 2019 10:11PM UTC
Jobs 1
Files 52
Run time 110min
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
5641

push

travis-ci

simonbrunel
New weight option for pie and doughnut charts (#5951)

Add functionality to give pie & doughnut datasets a weight attribute, which affects the relative thickness of the dataset when there are multiple datasets in pie & doughnut charts. The default weight of each dataset is 1, providing any other numerical value will allow the pie or doughnut dataset to be drawn with a thickness relative to its default size. 

For example a weight of 2 will allow the dataset to be drawn double its typical dataset thickness. Note that the weight attribute will only affect a pie or doughnut chart if there is more than one visible dataset. Using weight on a pie or doughnut dataset when there is only one dataset on the chart will have no affect.

2626 of 2976 branches covered (88.24%)

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

5168 of 5350 relevant lines covered (96.6%)

4439.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5641.1 27 Feb 2019 10:11PM UTC 0
96.6
Travis Job 5641.1
Source Files on build 5641
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5641
  • 93f4e6e4 on github
  • Prev Build on master (#5632)
  • Next Build on master (#5650)
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