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

series.notes.icon.size and series.notes.icon.type options not working

3 Answers 80 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Vijendra
Top achievements
Rank 1
Vijendra asked on 14 Apr 2015, 10:12 AM

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

Sort by
0
Daniel
Telerik team
answered on 16 Apr 2015, 08:00 AM
Hi,

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Vijendra
Top achievements
Rank 1
answered on 16 Apr 2015, 11:41 AM

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

0
Daniel
Telerik team
answered on 20 Apr 2015, 07:40 AM
Hi again,

Indeed, you are right. We will fix the example as soon as possible.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Kyle
Top achievements
Rank 1
commented on 08 Sep 2023, 02:20 PM

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!

 

Nikolay
Telerik team
commented on 12 Sep 2023, 08:13 AM

Hi Kyle,

Thank you for the comment.

I examined the API examples and both properties seem to be working correctly on my end:

series.notes.icon.size

series.notes.icon.type

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

Kyle
Top achievements
Rank 1
commented on 12 Oct 2023, 01:14 PM

Hi Nikolay,

Sure, go to here:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/seriesdefaults.notes.icon#seriesdefaultsnotesicontype

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

 

Nikolay
Telerik team
commented on 16 Oct 2023, 09:33 AM

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

 

Tags
Charts
Asked by
Vijendra
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Vijendra
Top achievements
Rank 1
Share this question
or