Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text of y-axis overlaps sometimes #152

Closed
russorat opened this issue Feb 5, 2020 · 6 comments
Closed

text of y-axis overlaps sometimes #152

russorat opened this issue Feb 5, 2020 · 6 comments
Assignees
Labels
kind/bug Something isn't working team/ui

Comments

@russorat
Copy link
Contributor

russorat commented Feb 5, 2020

Not sure if this is the same as #79

When the y-axis is set to 0 - 7, it looks like this and the numbers overlap:
image (43)

Setting the y-axis to 0 - 8, it looks much nicer:
image (44)

As a user, I'd like the default settings to ensure that the text of the y-axis never overlaps.
As a user, I'd like the ability to define a "tick" or "step" in the graph config which says "Show a horizontal line every x". So setting it to .5 would show 0, .5, 1, 1.5, 2, 2.5 etc and setting it to .1 would show 0, .1, .2, .3, .4, .5. In this case, if the user overrides the default, the text can overlap.

@russorat russorat added the kind/bug Something isn't working label Feb 5, 2020
@TCL735 TCL735 self-assigned this Feb 6, 2020
@desa desa added the team/ui label Feb 12, 2020
@TCL735
Copy link
Contributor

TCL735 commented Feb 12, 2020

This issue has two disparate parts:

  • a defect where the tick labels overlap on the vertical axis; simple

  • a feature request where we give the user more control over the tick step on the value axis; more complex and is covered under Can't control tick generation #79

@TCL735
Copy link
Contributor

TCL735 commented Feb 14, 2020

A related consideration is that the vertical axis should not overlap the labels regardless of whether it is values or time that is displayed.

@TCL735
Copy link
Contributor

TCL735 commented Feb 21, 2020

In other words the labeling should not overlap when (x, y) = (time, value) or (x, y) = (value, time).

@desa
Copy link
Contributor

desa commented Apr 3, 2020

Also applies to x-axis.
Link influxdata/influxdb#17585

@asalem1
Copy link
Contributor

asalem1 commented Apr 30, 2020

Might be related. Sometimes the Y-axis cuts-off values that are too long:

Screen Shot 2020-04-29 at 17 04 42

@TCL735
Copy link
Contributor

TCL735 commented May 15, 2020

@TCL735 TCL735 closed this as completed May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working team/ui
Projects
None yet
Development

No branches or pull requests

4 participants