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

Stroke Width (Height behind pie chart enforced) - Multiple pie charts on page

1 Answer 204 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 07 Mar 2012, 04:50 PM
I'm trying to add multiple pie chart on one page, it seems that there is a height on the div that holds the pie chart, I can't reduce the that height for some reason, I tried inspecting that element and it gives me a tag like <path="fill" stroke-height etc..

is there a way I could achieve this?
image attached for demo

Thanks

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 12 Mar 2012, 09:59 AM
Hi Sam Kort,

Thank you for contacting us.

Could you please set different padding to the pie chart?

$("#chart").kendoChart({
   ...
   seriesDefaults: {
      padding: 0
   }
   ...
});

All the best,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Sam
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or