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

Legend inline at bottom #18

Open
noraj opened this issue Jan 17, 2020 · 5 comments
Open

Legend inline at bottom #18

noraj opened this issue Jan 17, 2020 · 5 comments

Comments

@noraj
Copy link

noraj commented Jan 17, 2020

key_position: :right

image

key_position: :bottom

image

Feels like when using :bottom, the legend should be inline rather than in block.

@lumean
Copy link
Owner

lumean commented Apr 12, 2020

@noraj could you please indicate where you would expect the legend? or are you asking for an additional option to place the legend as overlay on the graph?

@noraj
Copy link
Author

noraj commented Apr 12, 2020

@noraj could you please indicate where you would expect the legend?

Exactly where it is but diplayed inline rather than in block when bottom is used.

@lumean
Copy link
Owner

lumean commented Apr 12, 2020 via email

@noraj
Copy link
Author

noraj commented Apr 12, 2020

display all legend items on a single line instead of multiple lines?

Yes exactly, like this, in a line rather than in a block:

image

A block is nice to be displayed in a column (vertical), eg with key_position: :right and in a line is nice to be displayed in a row (horizontal) eg. key_position: :bottom.

A block when horizontal waste too much space.

@lumean
Copy link
Owner

lumean commented Apr 15, 2020

Ok thanks for clarification. Will mark this as enhancement and we can introduce either a new attribute for legend style or another position option. E.g. single column or single row or even grid layout might make sense.

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

2 participants