-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
P2considered for next cycleconsidered for next cyclecscustomer successcustomer successfeaturesomething newsomething new
Description
I'm thinking of adding a new trace attribute container: legenditem
{
x: [/* */],
y: [/* */],
legenditem: {
textfont: {
color: 'red'
size: 12
},
marker: {
size: 20,
symbol: 'circle',
line: {width: 2, color: '#444'}
}
}
}
to the scatter*
, bar*
and pie
traces to make their legend item styling configurable. This would be an easy (easier than @alexcjohnson 's legend 2.0 idea 😏 ) solution to #2967, #2080, #1701 and #1560
By the way, I'm thinking a naming this new container legenditem
and not legend
as I'm thinking legend
could eventually be used when we implement multiple legends where e.g. legend: 'legend2'
would mean "put this trace's legend item in the second legend".
One more note on @alexcjohnson 's legend 2.0 idea: having legenditem
in traces wouldn't make it obsolete. We could still add a way to turn annotations into legend items later.
Thoughts?
ukos-git, brian428, MattKovtun, upascal, ismirsehregal and 2 moremhangaard
Metadata
Metadata
Assignees
Labels
P2considered for next cycleconsidered for next cyclecscustomer successcustomer successfeaturesomething newsomething new