legend.grouporientation
See original GitHub issueRight now, legend items in legend groups always stack vertically, and then the groups themselves are laid out per legend.orientation
. We need a new legend.grouporientation
attribute that will cause the items within a group to lay themselves out left-to-right.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Legends in Python
Grouping legend items together by setting the legendgroup attribute of traces causes their legend entries to be next to each other, and clicking...
Read more >R plotly: how can i set legend orientation for a second ...
I know I can set the legend orientation of a plotly plot with layout(legend ... Plotly stacks legend groups whether you want them...
Read more >Legend title not shown in horizontal orientation · Issue #1704
The legend title is not shown for legends in horizontal orientation. Here's a line plot with a legend. library(ggplot2) library(plotly) plt ...
Read more >Legend
Determines the behavior on legend group item click. ... Sets the font for group titles in legend. ... Sets the orientation of the...
Read more >Formatting a Legend
Open the menu of label orientation options in one of the following ways: Ribbon: On the Format tab, in the Labels group, click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Clarification:
legend.orientation
here essentially defines the relationship between groups i.e."v"
means “groups stack vertically” and “h” means “groups are laid out horizontally and wrap”. This is the current state of affairs if you assume that each trace is in its own group (which might not quiiite be right but close enough).legend.grouporientation
then will define the relationship between traces in a group which today is always"v"
and we want to enable"h"
.For example:
groupspacing
:0
(or -1) could be used to enter new items to the group and it could be set to e.g. 24 (px) to enter the items on the same line.