This is a migrated thread and some comments may be shown as answers.

AxisLabelClick event not firing on y-axis label click

2 Answers 132 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 12 Dec 2012, 04:50 PM
I have a bar chart with an axisLabelClick event defined.  The event fires when the x-axis label is clicked but not when the y-axis is clicked.  This worked in previous versions.  Any help would be appreciated.

2 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 1
answered on 12 Dec 2012, 04:54 PM
In addition to the click event, I applied a template for formatting purposes to the label and this prevented the click event from firing.  Removing the template makes the click event fire, however, I need both the template and the click event.  Thoughts?
0
Iliana Dyankova
Telerik team
answered on 14 Dec 2012, 11:51 AM
Hello Joe,

I tried to reproduce the problem, but to no avail - the axisLabelClick is fired even if a template for the labels is applied. For your convenience I attached my test page - could you please edit it to show me your current implementation? This way I would be able to investigate what exactly is going on and advice you further. Thank you in advance.
 
Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Joe
Top achievements
Rank 1
Answers by
Joe
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or