influxdata / influxdata/influxdb

Remove names for count = 0 in legend of histogram

Open
#18,670 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/vis team/ui
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:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.