how to add % to the caption on the side, and create a chart legend icon like below

1 Answer 150 Views
Charts
Noor
Top achievements
Rank 1
Iron
Noor asked on 11 Feb 2022, 04:23 AM
how to add % to the caption on the side, and create a chart legend icon like below

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 11 Feb 2022, 06:14 AM

Hello,

Regarding the questions:

1) how to add % to the caption on the side - This can be done by customizing the ChartValueAxisLabels:

https://www.telerik.com/kendo-react-ui/components/charts/api/ChartValueAxisLabelsProps/#toc-content

2) create a chart legend icon like below - This can be done using a custom visual where you can draw any shape:

https://www.telerik.com/kendo-react-ui/components/charts/api/ChartLegendItemProps/#toc-visual

More details on how to draw shapes can be found here:

https://www.telerik.com/kendo-react-ui/components/drawing/

Regards,
Stefan
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
Charts
Asked by
Noor
Top achievements
Rank 1
Iron
Answers by
Stefan
Telerik team
Share this question
or