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

Graph order vs. legend order #296

Closed
szepeviktor opened this issue Nov 9, 2014 · 4 comments
Closed

Graph order vs. legend order #296

szepeviktor opened this issue Nov 9, 2014 · 4 comments

Comments

@szepeviktor
Copy link
Contributor

Could you clarify why the topmost item in legend belongs to graph at the bottom?

Would it be easier to read if the topmost legend item would belong to the graph at the top?

@steveschnepp
Copy link
Member

The legend is written in the same order than the plugin emits fields.

It works well usually, but in case of stacking, the graphs are reversed.

@szepeviktor
Copy link
Contributor Author

So is there an option to reverse legend order in case of stacking?

@sumpfralle
Copy link
Collaborator

The option --legend-direction of rrdgraph seems to control the behaviour (and allows the reverse direction).

Maybe someone wants to add support for this feature?

@sumpfralle
Copy link
Collaborator

sumpfralle commented May 26, 2019

Indeed the feature was always there. Just add the following to a graph configuration:

graph_args --legend-direction bottomup

This is now mentioned in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants