We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In our service we want to add grafana-style charts, with area type, bright and solid line, but semi-transparent background.
area
We use yagr plugin.
yagr
Area color is used in tooltip, so if we make area transparent, color in tooltip becomes transparent as well.
Example 1:
Example 2:
The text was updated successfully, but these errors were encountered:
legendColorKey
@zefirka Hey! Is it possible to get access to the lineColor property in TooltipRenderOptions?
lineColor
TooltipRenderOptions
Sorry, something went wrong.
It's possible having TooltipRow item in TooltipRenderOptions['scales'][string]['rows'] to use id property to get to series config:
id
const lineColor = tooltipRenderOptions.yagr.getSeriesById(item.id)?.lineColor;
@artemmufazalov Hey! I've added a new property legendColorKey in versions 4.23.0 and 5.2.0. You can check usage example here.
Everything works, thanks!
korvin89
No branches or pull requests
In our service we want to add grafana-style charts, with
area
type, bright and solid line, but semi-transparent background.We use
yagr
plugin.Area color is used in tooltip, so if we make area transparent, color in tooltip becomes transparent as well.
Example 1:
Example 2:
The text was updated successfully, but these errors were encountered: