-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
legendgroup titles #5260
Comments
Some additional notes:
|
The default font size for the legend group titles should be slightly smaller than the legend title font size. I actually think that the current default legend font size is too small, as it's often confusable with the legend item text in horizontal orientation, so given that we're in the 2.0 cycle, maybe we bump up the default legend title font size to make this possible, and have the default legend group title font size be the same as the current legend title font size. Feedback welcome. |
Should multi-line text and LaTex be supported in the first iteration? |
no :) |
I'd like to request that the additional functionality of the
As discussed here, #3135 (comment) |
Can you give an example in CodePen please? tried a lot but nothing.. in version 2.3.1 I think. For me legendgrouptitle: {text: "......"} didn't work at all |
Here is a codepen. |
Thanks a lot! works now |
Added missing properties of PlotData legendgrouptitle: plotly/plotly.js#5260 Plotly attributes file with legendgrouptitle and legendrank right below: https://github.com/plotly/plotly.js/blob/ab5e16afc34fa4f22efffef129f811381580e0fe/src/plots/attributes.js#L57
* Add legendgrouptitle and legendrank to PlotData Added missing properties of PlotData legendgrouptitle: plotly/plotly.js#5260 Plotly attributes file with legendgrouptitle and legendrank right below: https://github.com/plotly/plotly.js/blob/ab5e16afc34fa4f22efffef129f811381580e0fe/src/plots/attributes.js#L57 * fix wrong legendgrouptitle type * style: run prettier in package with config from repo
* Add legendgrouptitle and legendrank to PlotData Added missing properties of PlotData legendgrouptitle: plotly/plotly.js#5260 Plotly attributes file with legendgrouptitle and legendrank right below: https://github.com/plotly/plotly.js/blob/ab5e16afc34fa4f22efffef129f811381580e0fe/src/plots/attributes.js#L57 * fix wrong legendgrouptitle type * style: run prettier in package with config from repo * feat: add uid at several locations, add uirevision once * chore: remove myself from code owners
A new attribute for every trace that supports a
legendgroup
calledlegendgrouptitle
. The firstlegendgrouptitle
for a given legend group should be used, even if a later one conflicts. This should specify a title that appears above the legend group in the legend.The text was updated successfully, but these errors were encountered: