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

Donut chart set inner and outer radius

4 Answers 647 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
A
Top achievements
Rank 1
A asked on 05 Oct 2012, 03:04 PM
Hi All,
how can I set innerRadius for donut chart?

4 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 05 Oct 2012, 06:57 PM
Hi A,

You can specify the size of the donut hole via the series' holeSize property. For example:
$("#chart").kendoChart({
  //....
  seriesDefaults: {
     holeSize: 20,
     //....
  }
});
 

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
A
Top achievements
Rank 1
answered on 08 Oct 2012, 10:29 AM
Thanks a lot.
0
Jenn
Top achievements
Rank 1
answered on 11 Nov 2014, 03:30 PM
How does the number "20" relate to the donut? Is that a percentage of outer width? Is it a pixel size of the hole?
0
Iliana Dyankova
Telerik team
answered on 14 Nov 2014, 08:58 AM
Hi Jenn,

The holeSize number is actually a pixel size of the hole radius. For example holeSize 20 will make donut hole 40px.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
A
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
A
Top achievements
Rank 1
Jenn
Top achievements
Rank 1
Share this question
or