dc.js / d3.js - How to hide a bar chart x-axis category value if its bar value equals zero?
问题 I know this question has been asked before, but I have not found an answer that works for me. I looked into https://github.com/dc-js/dc.js/wiki/FAQ#filter-the-data-before-its-charted and tried the remove_empty_bins function but nothing changed. I also tried the filter_bins function but I am getting the error message "f is not a function". I am working on a dashboard. I want the bar charts to update such that the x-axis categories are removed from the graph when they are zero and will reappear