Hello,
I want to change type and size of series note marker. I tried to set series.notes.icon.size and series.notes.icon.type properties of chart but it did not work.
Even I tried to test the examples provided in API documentation (http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart) and surprisingly they also did not work.
http://dojo.telerik.com/Aratu
http://dojo.telerik.com/eYAVa
Am I doing anything wrong? Please help.
Regards,
3 Answers, 1 is accepted
Thanks for pointing out the issue with the size option. I reproduced it on my side and we will look into it.
The type seems to be correctly changed on my side. Could you check this screen-cast and let me know if I am missing something?
Regards,
Daniel
Telerik
Hi Daniel,
Thanks for your reply.
I also could change type at my end. I figured out that the example code given API documentation is incorrect. Its states:
notes: {
icon: {
shape: "triangle"
}
}
rather
notes: {
icon: {
type: "triangle"
}
}
Regards,
Vijendra
Indeed, you are right. We will fix the example as soon as possible.
Regards,
Daniel
Telerik
We will fix the example as soon as possible.
Haha! I just came across this same problem 8 years later:)
But at least it helped me fix it!
Hi Kyle,
Thank you for the comment.
I examined the API examples and both properties seem to be working correctly on my end:
Could you please point out where the problem is so I can address it properly?
I examined the Dojo demos from the initial post here, and yes, the series.notes.icon.size is not working with the 2015 version of Kendo UI, but this has been fixed with newer versions of the product.
Regards,
Nikolay
Hi Nikolay,
Sure, go to here:
You should be able to see the code uses shape instead of triangle. Click the Open that in the dojo and you'll see the example does not work. Edit the source to use type and naturally it does.
Cheers,
Kyle
Hi Kyle,
Thank you for pointing this out to me.
I will make sure this is updated in the Dojo as shape is not an existing Chart property.
As a token of gratitude I have added some Telerik points to your account.
Regards,
Nikolay