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

Radar Chart issue: Ring type object and center() method

1 Answer 60 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Gleb
Top achievements
Rank 1
Gleb asked on 05 Feb 2015, 07:18 AM
Hi.

We have a problem with Radar Chart component from Kendo UI Professional 2014.3.1316 package using via kendo.all.js script.
When mouse hover chart area exception "Uncaught TypeError: undefined is not a function" occures inside moveLine() function.
It seems  that the problem is in these lines:
slot = axis.getSlot(axis.pointCategoryIndex(point));
lineStart[dim] = lineEnd[dim] = slot.center()[dim];
getSlot function returnes an object of Ring type but it has no extension method center() for it.

Actually we can not see any side affects of this bug but it is no so good to have any errors in browser console.
Could you help us with this issue? probably we need to include some additional script where center() method for Ring type is implemented?
Thank you in advance.







1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 06 Feb 2015, 03:16 PM
Hello,

Thank you for reporting this problem. It's caused by the chart trying to render crosshairs for the axes.
These are not supported for radar charts, but shouldn't throw an error either.

For the moment, remove the categoryAxis.crosshair and valueAxis.crosshair settings.

I've updated our Telerik points as a token of gratitude for your involvement.

Regards,
T. Tsonev
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
Gleb
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or