[charts] Review legend
vs label
classes
#16102
Labels
component: charts
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
I got confused by the fact the legend and the legend item are two distinct components with different classes objects.
Here we are in the legend so we can only target the mark (
MuiChartsLegend-mark
). We need to use thelabelMark
to target what is inside.That's not super intuitive, but it's another debate which will be more interesting when we will create demos about how to create custom shape like for example
Originally posted by @alexfauquette in #15733 (comment)
The text was updated successfully, but these errors were encountered: