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

series.labels.visual not working

3 Answers 104 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 09 Mar 2015, 10:28 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 10 Mar 2015, 11:29 AM
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!
 
0
Greg
Top achievements
Rank 1
answered on 14 Mar 2015, 01:07 AM
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
0
Accepted
T. Tsonev
Telerik team
answered on 17 Mar 2015, 05:13 PM
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!
 
Tags
Charts
Asked by
Greg
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Greg
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or