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

AxisLabel Click on Charts

2 Answers 103 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Anirban
Top achievements
Rank 1
Anirban asked on 01 Sep 2012, 01:03 AM
Hi ,

Is there anyway I can have a pointer cursor  whenever there is a axislabel click method is enabled for charts ? 

I saw the svg that is rendered is having a data-model-id tag but that is also associated with the value axis as well.
I only need a mouse pointer only for the category axis. Is there any way I can achieve the same? 

Thanks,
Anirban

2 Answers, 1 is accepted

Sort by
0
Kim
Top achievements
Rank 1
answered on 14 Nov 2013, 12:40 AM
Anyone? I also need this feature.
0
Iliana Dyankova
Telerik team
answered on 18 Nov 2013, 11:16 AM
Hello guys,

This scenario is not supported by Kendo UI Chart. As a possible workaround I can suggest attaching a handler to the axisLabelClick event and use the jQuery css() method to change the cursor:

$("#chart").kendoChart({
   //....
   axisLabelClick: onSeriesHover
});
    
function onSeriesHover() {
   $("#chart").css("cursor", "pointer");
}
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Anirban
Top achievements
Rank 1
Answers by
Kim
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or