Open noraj opened 4 years ago
@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 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.
thanks for the reply, but can you please give some more details? I dont understand what you mean. What is the difference between inline and block? Are you referring to CSS properties or something else? e.g. display all legend items on a single line instead of multiple lines?
display all legend items on a single line instead of multiple lines?
Yes exactly, like this, in a line rather than in a block:
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.
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.
key_position: :right
key_position: :bottom
Feels like when using
:bottom
, the legend should be inline rather than in block.