kendoAvatar as kendo-chart-category-axis-item-label

1 Answer 163 Views
Avatar Charts
Art Kedzierski
Top achievements
Rank 2
Art Kedzierski asked on 10 May 2021, 03:21 PM
I see the example of providing custom visuals for chart labels using drawing functions (https://www.telerik.com/kendo-angular-ui/components/charts/elements/labels/#toc-rendering-custom-visuals), but how would one go about replacing the axis labels with, say, a kendo avatar or some other kendo component? I can't find an example of that.

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 13 May 2021, 08:30 AM

Hi Art,

Indeed, using a custom visual is the way to go when it is required to use an icon (avatar) or any custom drawing for the labels. Creating a custom visual is possible with the Drawing API. Please see the following article that demonstrates how to create a custom scene including shapes and a picture:

https://www.telerik.com/kendo-angular-ui/components/drawing/basic-shapes/

Using a Kendo component for the labels content isn't a supported feature.

Please let me know if any further information is required for this case.

Regards,
Svetlin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Avatar Charts
Asked by
Art Kedzierski
Top achievements
Rank 2
Answers by
Svet
Telerik team
Share this question
or