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

Constant radius pie chart

3 Answers 172 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Alpha
Top achievements
Rank 2
Alpha asked on 11 Mar 2019, 06:27 PM

I am currently editing a project that was carried out by another developer (not available).

I am trying to edit a report that uses pie charts, and I need to make all the pie charts the same size (with a constant radius) but I still haven't find a way to do so.

The report only uses a .resx and a .cs files.

Is there any property that can be used to set the radius constant? Where is it located?

 

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 12 Mar 2019, 11:29 AM
Hi Arnau,

If you use RadPieChart, you can set the RadiusFactor property of each PieSeries in your application. 

Note that there is no global setting for the radius.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Alpha
Top achievements
Rank 2
answered on 12 Mar 2019, 04:15 PM

Hi Martin,

Thanks for your early response.

I am not sure if I am understanding it well. Could you give me an example?

Thanks.

Regards,

Arnau

0
Martin Ivanov
Telerik team
answered on 13 Mar 2019, 02:33 PM
Hi Arnau,

If you have to PieSeries for example, you can set the RadiusFactor of both series to some value. Lets say 0.4. This means that the pie slices will take only 40 percentage of the available size of the pie chart.
<telerik:RadPieChart>
    <telerik:RadPieChart.Series>
        <!-- some settings here -->
        <telerik:PieSeries RadiusFactor="0.4"/>
    </telerik:RadPieChart.Series>
</telerik:RadPieChart>
 
<telerik:RadPieChart>
    <telerik:RadPieChart.Series>
        <!-- some settings here -->
        <telerik:PieSeries RadiusFactor="0.4"/>
    </telerik:RadPieChart.Series>
</telerik:RadPieChart>
 
<telerik:RadPieChart>
    <telerik:RadPieChart.Series>
        <!-- some settings here -->
        <telerik:PieSeries RadiusFactor="0.4"/>
    </telerik:RadPieChart.Series>
</telerik:RadPieChart>

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart
Asked by
Alpha
Top achievements
Rank 2
Answers by
Martin Ivanov
Telerik team
Alpha
Top achievements
Rank 2
Share this question
or