influxdata / influxdata/giraffe

Y-axis should atleast add another value on the upper bound to avoid graph touching the edge

Open
#597 1 comment 0 reactions 0 assignees View on GitHub
enhancement team/dumplings team/ui
Dominant language
TypeScript
Stars
189
Forks
33
Avg merge
3d 15h
Merged PRs (30d)
4

Description

The max value in the chart should keep some margin visible on the Y-axis. In the screenshot, the max value is 43.81 and is touching the edge of the box.

![image](https://user-images.githubusercontent.com/5083532/120051671-2cadea80-c03f-11eb-9b64-45ae5a6faf9e.png)

An ideal case would be to have the Y-axis automatically add `45` on the axis to add some margin on the chart

Contributor guide

Open the contributing guide

Research direction

Start by locating the chart Y-axis scaling and tick-generation entry points in the TypeScript code, then reproduce the case shown in the issue with a maximum value of 43.81. Verify that the upper bound leaves visible margin and produces an appropriate next value such as 45, and check any existing chart tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.