influxdata / influxdata/influxdb

Graphs: add option to sort tooltip data by value

Open
#16,725 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature-request team/ui
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Proposal:__
When a user hovers over a line graph, the tooltip displays a legend with data about the hovered points. There should be an option to sort the data in this legend, such as highest/lowest value from top to bottom.

__Current behavior:__
User has no control over the order of the data displayed in a graph tooltip.

__Desired behavior:__
See https://github.com/influxdata/giraffe/issues/151 for more details. After that related issue is completed, please add the option described in the proposal above.

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

Start with the related influxdata/giraffe issue 151, which the proposal identifies as a prerequisite for the tooltip work. Confirm how that issue defines tooltip data, then implement the requested user option to sort the legend by value and verify that ascending and descending ordering are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.