Hi,
I'm trying to execute a function on column click.
seriesMouseLeftButtonDown: function (evt, ui) { alert(ui.item.myXaxis+" "+ui.item.?????); },);
When I click on column i get the x axis label, but I need the series name also. How can I get it?
Thank you.
Hello Luca,
ui parameter of seriesMouseLeftButtonDown event has series option. Through this option you can get the series where left button down happened. Then to get the name of the series get name option of the series object. You can use code like this:
seriesMouseLeftButtonDown: function (evt, ui) { alert(ui.item.myXaxis + " " + ui.series.name); }
Please let me know if this solves your issue, or if you need any further assistance on this matter.