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

How to retrieve category axis data from series point

1 Answer 95 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 16 Jul 2014, 08:47 PM
Is it possible to get the category axis data when you hover over a point.  

For example, on the chart located here http://demos.telerik.com/kendo-ui/line-charts/index.

Instead of hovering over the points and seeing "Russian Federation: 4.743" you could see "Russian Federation (2002): 4.743" on the first point you hover over.  The axisCategory (in this case is the year) could be fetched.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 18 Jul 2014, 12:34 PM
Hello Philip,

Yes, this is possible. The tooltip template data has a category field which contains the category name. I created an example based on the demo that demonstrates the specified case.

Regards,
Daniel
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
Philip
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or