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

Donut chart radius

1 Answer 497 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 02 Jan 2018, 10:37 PM

How can I change the donut size hole?  The holeSize property does not seem to work.  I tried setting it to 1, 5, 10, 20 and it turns the donut into a square.

 

Here's an example plunker

https://plnkr.co/edit/xC6m126rKRv5qI1xFTp2?p=preview

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 03 Jan 2018, 08:17 AM
Hi Jacky,

The holeSize property needs to be set to a number, and therefore a [holeSize]="10" binding syntax is required (otherwise the provided value is treated as a string). Here is the updated example:

https://plnkr.co/edit/3IrLpHrW9H7Uq12zBhEB?p=preview

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Jacky
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or