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

Tooltip on X Axis labels?

2 Answers 189 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 14 Nov 2013, 04:11 PM
We have a chart that put a Medical Code as the label for each column on a bar chart.  Is it possible to put a tooltip on each on that would pull the description of the medical code and place it in the tooltip?

Or do you have any other suggestions on how to show the description for each?

Thanks,
Jason

2 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 15 Nov 2013, 04:38 PM
Hello Jason,

I am afraid at this point there is no an event which fires when hovering over the axis labels. The closest to the described scenario I can suggest is using the axisLabelsClick event and show a custom HTML element with the needed information. Another option is to display the description in the tooltip.template (you could reach the original data through the dataItem).
  

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Adrian
Top achievements
Rank 1
answered on 16 Feb 2014, 07:58 PM
Jason, I'm trying to lobby our Kendo friends to provide a new feature to support what you're asking for.

In the meantime I figured out a way to do this. Check out this fiddle: http://jsfiddle.net/adrianz/VK3za/7/

Tags
Charts
Asked by
Jason
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Adrian
Top achievements
Rank 1
Share this question
or