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

Tooltips & seriesClick event - getting undefined for some data

1 Answer 121 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 13 Nov 2013, 04:40 PM
I'm having some issues with tooltips & seriesClick on my chart.  Here is a jsFiddle demonstrating the issue.

In chart 1, there is no issue getting the tooltip data, but in chart 2, I am getting 'undefined' for some of the data I want to display (both chart 1 and chart 2 are using a template to format the tooltip data).  In addition on chart 2, if you click on a column chart series, I am also getting 'undefined' for some data.

FYI, I am using v2013.2.918

Thanks in advance,
--Ed

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 14 Nov 2013, 12:19 PM
Hi Ed,

This is a known issue - when a date axis is used you cannot reach the original data through the dataItem. Our developers are working on the problem and a fix will be available in a short period of time. Please excuse us for the inconvenience caused.

Meanwhile the only possible workaround I can suggest is defining a custom aggregate function for the series (which returns the aggregated values), loop through all the data and manually calculate the aggregates for each point.

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
Ed
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or