PDA

View Full Version : Binding event listener to chat legends



whippersnapper
18 Nov 2012, 6:56 PM
I have a stacked chart. When binding to the 'mousedown' event for the legend clicks, I'd like to know which of the stacked column was filtered out. Is there a way to extract that info programmatically?

Thanks.

mitchellsimoens
20 Nov 2012, 6:36 AM
I would create an override to the LegendItem to add a mousedown listener to it and you can then get the series associated to that item.