series.labels.visual not working

4 posts, 2 answers
  1. Greg
    Greg avatar
    4 posts
    Member since:
    Sep 2014

    Posted 09 Mar 2015 Link to this post

    Hi,

    I've been trying to get the custom rendering of the series label to work with a donut series chart, but the error I get is "Cannot read property 'center' of undefined" when trying to access the 'rect' property of the e object. This also fails in the dojo example supplied in the docs. Inspecting the object sent to the visual function shows that none of the documented argument fields are available, only dataItem, series and value. I've tried using both seriesDefaults and setting it specifically on the series itself, both result in the same error.

    I've been following the instructions here http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.labels.visual

    Additionally, there might be a typo somewhere as inspecting the series object received shows a field called 'vericalLine'.

    Kind regards,
    Greg
  2. Answer
    Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 10 Mar 2015 Link to this post

    Hello Greg,

    apologies for the confusion. The feature you refer to is available in our current 2015 Q1 beta release, which should be available for download in your account. We understand that updating the documentation to a beta state without a notice is confusing for many customers (even for a short period of time), and we are considering alternatives to that approach. 

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Greg
    Greg avatar
    4 posts
    Member since:
    Sep 2014

    Posted 13 Mar 2015 in reply to Petyo Link to this post

    Hi Petyo,

    Thanks for the info, I'll download the beta to start learning that feature. Hopefully it won't be long until there is a production release?

    Kind regards,
    Greg
  4. Answer
    T. Tsonev
    Admin
    T. Tsonev avatar
    2817 posts

    Posted 17 Mar 2015 Link to this post

    Hi,

    The production release is scheduled for tomorrow. Thank you for your patience.

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