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

uniform pie chart size

2 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Innis
Top achievements
Rank 1
Innis asked on 30 Nov 2017, 09:18 PM

I have a set of pie charts in a report. The size of the pie charts ends up being different based on the label sizes. a larger label will generate a smaller chart. a smaller label will generate a larger chart. How can I make the size of the charts uniform regardless of label size. 

I have tried to set the padding under the chart Style as well as the padding under the chart PlotAreaStyle. Setting the padding on the chart Style did decrease the size of the charts but it decreased them all by the same amount and they are still different sizes. 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Hristov
Telerik team
answered on 05 Dec 2017, 12:43 PM
Hi Innis,

The pie chart's available size depends on the size of the labels and changes dynamically, but the "pie" radius can be controlled through the Size property of the RadialAxis in graph's coordinate system. The property should be set to a string that represents a valid Unit, i.e. "5cm" or "100px", etc.

Please note that if the graph size is not large enough to accommodate the pie chart and its labels, the labels might be cut off.

Regards,
Ivan Hristov
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Innis
Top achievements
Rank 1
answered on 06 Dec 2017, 03:18 PM

That solved my problem. Thank you for your help. 

 

Tags
General Discussions
Asked by
Innis
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Innis
Top achievements
Rank 1
Share this question
or