|
Track line chart + mouse click event |
Posted by mephy on Dec-17-2014 03:52 |
|
Hello!
I'm using "Track Line with Data Labels" chart with Javascript chart model.
Is it possible to set a handler on mouseClick event on this chart?
I need track cursor functionality + ability to draw a <div> with current values by a click.
Thank you.
Best regards, mephy |
Re: Track line chart + mouse click event |
Posted by Peter Kwan on Dec-17-2014 15:09 |
|
Hi mephy,
Yes. There is in fact an undocumented "ChartMouseDown" event supported in the
ChartDirector Javascript library. For example:
viewer.attachHandler("ChartMouseDown", function(e) { alert(1234); });
Hope this can help.
Regards
Peter Kwan |
|