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

2 posts, 0 answers
  1. Gleb
    Gleb avatar
    1 posts
    Member since:
    Jan 2013

    Posted 05 Feb 2015 Link to this post


    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.

  2. T. Tsonev
    T. Tsonev avatar
    2817 posts

    Posted 06 Feb 2015 Link to this post


    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.

    T. Tsonev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top