I have a use case to build a chart which will have a drill-down capability.
The user will click on a point on the chart and, using the Mousetrap() function a script will run which will pop up a new window containing another chart with some more detailed drill down information.
I want to then support an additional level of drill down from this first pop-up window.
I will illustrate with a simple example using BigClass dataset in the attached script.
The notes in the script highlight the problem : with only one mouse-trap() function call, the first drill down works.
But if I add a second mouse-trap, specifically adding it to the graph that will result from the first drill-down, what instead happens is that the second drill-down action is applied to the first mouse click, which wasn't expected.
Not sure if it's possible to use MouseTrap() like this or not ?
d