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
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