[Partition] Link label text color parameter passed is ignored #1469
Labels
bug
Something isn't working
kibana cross issue
Has a Kibana issue counterpart
:Lens
Kibana Lens related issue
:partition
Partition/PieChart/Donut/Sunburst/Treemap chart related
Describe the bug
While the
textColor
parameter is still accepted as valid for thelinkLabel
configuration object, its value is overwritten internally to the best "contrast" color against the container background color.While the aim sounds nice, in Kibana charts embeddable cannot have a background color as Canvas requires them to be styleable somehow, so the background color is currently set to
undefined
/transparent
. This leads to manually compute thetextColor
programmatically in Lens, and we land on the point above.Expected behaviour
Respect the passed value for
textColor
.Kibana Cross Issues
elastic/kibana#116777
Checklist
Delete any items that are not applicable to this issue.
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: