influxdata / influxdata/influxdb
Remove names for count = 0 in legend of histogram
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Expected behavior:
When I hover over to view the legend in a histogram, I only care about the Names/tags that have a value in that bin. The number of 0 counts dilutes to readability of the legend.
Actual behavior:
Hover over to view the legend I only see the names that have a value in that bin of the histogram
In this histogram, only should see Aston Villa FC in the legend:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the histogram behavior by hovering over a bin and compare the legend with the reported screenshot. Confirm that entries with a count of 0 are omitted while entries with values remain visible; the issue does not name a source file or test to start from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100