Open jmichaelterenin opened 1 month ago
I've gotten around the issue by adding a click handler for any chart interaction in the chartReady function, and adding the mouse X/Y coordinates to the element's dataset, to be picked up by the selectHandler function. If there's a simpler solution to my problem that provides the event object within chartReady and selectHandler, please share (anyone) at your convenience.
What Version?
3.1.14
Issue
However, in neither callback is the event object made available (is null). The injected script is below:
I see the code that does what you indicate in the docs: Note: When the chart is rendered, your function will be wrapped with lava.event() which will give your function access to the event and chart objects.
Controller Code (chart creation code)
I've searched for existing issues )open or closed) that experience this, but nothing is clearly stated indicating this as a problem. Something I'm doing wrong?