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

feature request: option to align zero line on left/right y-axis (when using two y-axis) #2740

Closed
aleks-mariusz opened this issue Sep 14, 2015 · 21 comments

Comments

@aleks-mariusz
Copy link

I would like a checkbox or something that forces the two zero lines from the left y-axia and the right y-axis to be co-linear (matching horizontally).

This way you can use auto min/max y-axis on both sides and zero will coincide (without having to set same min/max on both axis options manually).

You otherwise end up with situations such as the attached graph, which seem like a bug (though i'm told it's not).
screen shot 2015-09-14 at 18 05 28

@aleks-mariusz
Copy link
Author

Somewhat related, but additionally, the 2nd Y-Axis major lines should probably line up with the first Y-Axis major lines.. Currently they only line up at the top and bottom of graph

@verfriemelt-dot-org
Copy link

+1

4 similar comments
@bbrendon
Copy link

bbrendon commented Feb 5, 2016

+1

@baelish
Copy link

baelish commented Feb 14, 2016

+1

@CCedricYoung
Copy link

+1

@JCN-9000
Copy link

+1

@bbrendon
Copy link

Ran into this again. Some workarounds : #2738

@bfgoodrich
Copy link

+1

8 similar comments
@sesom42
Copy link

sesom42 commented Apr 5, 2017

+1

@Obihoernchen
Copy link

+1

@milleroff
Copy link

+1

@h-svab
Copy link

h-svab commented Jun 1, 2017

+1

@bfgoodrich
Copy link

+1

@agarstang
Copy link

+1

@spetersson
Copy link

+1

@clems4ever
Copy link

+1

@Brausmith
Copy link

Gets my vote. This is driving my OCD crazy.

@meyudi
Copy link

meyudi commented Mar 1, 2018

+1

@marccardinal
Copy link

Quite surprised to see that this has been open for over two years, this is making it much harder to read the charts.

@RichiH
Copy link
Member

RichiH commented Mar 3, 2018

This probably needs to be checked against v5, but I don't have an instance handy. @bergquist , do you know if that's in v5?

@marefr marefr added this to the 5.1 milestone Mar 22, 2018
@marefr
Copy link
Member

marefr commented Mar 22, 2018

Fixed by #10994

@marefr marefr closed this as completed Mar 22, 2018
marefr added a commit that referenced this issue Mar 22, 2018
ryantxu added a commit to ryantxu/grafana that referenced this issue Mar 23, 2018
* grafana/master: (30 commits)
  changelog: adds note about closing grafana#11278
  docs: spelling
  docs: add intro paragraph to provisioning page
  Cleanup CircleCI V2 Conversion
  changelog: notes for grafana#1271 and grafana#2740
  graph: minor fixes to y-axes alignment feature
  added save icon to save buttons
  removed trash can icon from save buttons
  Return actual user ID in UserProfileDTO
  dashboard version cleanup: more tests and refactor
  minor refactor of dashboard version cleanup
  refactor: dashboard version cleanup
  limit number of rows deleted by dashboard version cleanup
  fix dashboard version cleanup on large datasets
  Allocated to a separate alignment block. Replaced the attribute of the second axis by the attribute of the axes.
  Fixed unit test.
  Changed the way this feature was activated. And changed tolltip.
  Added validation of input parameters.
  Resolved conflict
  Corrected work for graphs created before this feature.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests