Home › Forums › Chart Support › Click event from tooltip › Reply To: Click event from tooltip
many thanks, now with this the jsfiddle example is working.
However, now I seem to be facing a scope issue when applying this in my Angular application. I have created the chart within the ngOnInit methode of a component. The click event hanlder onClickToolTip is defined in that component, too. But when I click the tooltip, I am getting the following error:
ReferenceError: onClickToolTip is not defined at HTMLDivElement.onclick
Do you have an idea in how I can reference the event handler correctly?