Subscribe Bookmark RSS Feed

Simulate Mouse Clicks on a Chart

Hi - I've created a chart which responds to mouse clicks in a number of ways; that is, several areas of the chart are clickable, and the mouse clicks are detected using the mousetrap functionality within the chart, and interpreted accordingly.  I now want to "pre-record" a sequence of mouse clicks to show in a demo what the effects of a specific sequence of mouse clicks are.  Is it possible to simulate the effect of clicking on a specific pair of {x, y} coordinates on a chart, in the same sort of way that a click can be sent to a button box by using the << click() property?

Many thanks