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

CodeYellowBV / chartist-plugin-legend / 35 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2016 08:06AM UTC
Files 1
Run time 0s
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

31 Aug 2016 08:04AM UTC coverage: 92.593% (-2.1%) from 94.667%
35.1

push

travis-ci

web-flow
Added classNames and removeAll options (#24)

I've added two additional optional options and the corresponding logic for this plugin:

# classNames

classNames is a passable optional option, it's type is a array of strings.

It specifies classes for each legend li element.
If a valid array is passed, which is as long as the number of series (or, if passed as long as legendNames), those classes will be appended dynamically to their corresponding elements.
This allows generating classes for specific elements and to style them via CSS.

A specific example is stacking charts, and hiding overlapping legends for positioning purposes.

# removeAll

removeAll is a passable optional option, it's type is boolean.

It can be set to allow the user to remove every single entry of data in a chart.
This is not enabled by default to retain the developer's default, but enables a more flexible usage of the toggle functionality depending on personal preference.

75 of 81 relevant lines covered (92.59%)

9.35 hits per line

Source Files on job 35.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 35
  • Travis Job 35.1
  • 68d942e2 on github
  • Prev Job for on master (#29.1)
  • Next Job for on master (#37.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