All examples By author By category About

grugknuckle

Top5 row chart bug

This is a bug in the capMixin for dc.js v2.1.2. Notice that the full chart has 20 rows. The TOP 5 rows by value are rows, 16 - 20. But when the row chart uses the .cap method of the capMixin, the BOTTOM 5 rows are displayed instead of the TOP 5 rows.

forked from gordonwoodhull's block: dc.js example

forked from anonymous's block: Top5 row chart bug