OnClick event inside ExternalTooltipHandler #11152
Unanswered
rushikesh-nage
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having trouble creating the OnClick event inside the external tooltip.
A sample copy of code.
const getOrCreateTooltip = (chart) => {
let tooltipEl = chart.canvas.parentNode.querySelector("div")
const externalTooltipHandler = (context, contextIndex) => {
const { chart, tooltip } = context
const tooltipEl = getOrCreateTooltip(chart)
In this also getting trouble using controls in the video.
Please let me know how should I resolve these.
Beta Was this translation helpful? Give feedback.
All reactions