Skip to content

Commit

Permalink
number display is better than data count
Browse files Browse the repository at this point in the history
not in all cases, not a complete replacement, but at least add a link
directing people from one to the other.

fixes #1076
thanks @ubershmekel!
  • Loading branch information
gordonwoodhull committed Apr 29, 2016
1 parent 24ea27d commit 586dafa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/data-count.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* current filters out of the total number of records in the data set. Once created the data count widget
* will automatically update the text content of the following elements under the parent element.
*
* Note: this widget works best for the specific case of showing the number of records out of a
* total. If you want a more general-purpose numeric display, please use the
* {@link dc.numberDisplay} widget instead.
*
* '.total-count' - total number of records
* '.filter-count' - number of records matched by the current filters
*
Expand Down

0 comments on commit 586dafa

Please sign in to comment.