Transparent tooltip legend colors with transparent area
Closed this issue · 4 comments
artemmufazalov commented
korvin89 commented
@zefirka Hey! Is it possible to get access to the lineColor
property in TooltipRenderOptions
?
zefirka commented
It's possible having TooltipRow item in TooltipRenderOptions['scales'][string]['rows'] to use id
property to get to series config:
const lineColor = tooltipRenderOptions.yagr.getSeriesById(item.id)?.lineColor;
korvin89 commented
@artemmufazalov Hey! I've added a new property legendColorKey in versions 4.23.0 and 5.2.0. You can check usage example here.
artemmufazalov commented
Everything works, thanks!