Understanding the Click event on the AxisArrow tool
Posted: Wed Oct 31, 2007 12:28 am
Hi.
I've created an AxisArrow tool and created an event handler for the Click event against the AxisArrow instance. I've also associated the AxisArrow tool with the chart instances Bottom axis. My expectation is that when I click on the left or right arrows (or perhaps anywhere on the AxisArrow), the Click event handler will be called. Well this is happening, but if I click anywhere else on the chart, this also seems to invoke the Click event handler for the AxisArrow instance.
This is causing incorrect processing when say trying to zoom on an area on the chart and as part of that operation the AxisArrow Click event handler is being invoked.
Can anyone shed some light on what might be going here, and how to configure things so that the AxisArrow Click event handler is only called when the AxisArrow is clicked upon...
thanks,
Ben.
I've created an AxisArrow tool and created an event handler for the Click event against the AxisArrow instance. I've also associated the AxisArrow tool with the chart instances Bottom axis. My expectation is that when I click on the left or right arrows (or perhaps anywhere on the AxisArrow), the Click event handler will be called. Well this is happening, but if I click anywhere else on the chart, this also seems to invoke the Click event handler for the AxisArrow instance.
This is causing incorrect processing when say trying to zoom on an area on the chart and as part of that operation the AxisArrow Click event handler is being invoked.
Can anyone shed some light on what might be going here, and how to configure things so that the AxisArrow Click event handler is only called when the AxisArrow is clicked upon...
thanks,
Ben.