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

Pie Chart labels

10 Answers 295 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Saravanan Thiruchabai
Top achievements
Rank 1
Saravanan Thiruchabai asked on 01 Apr 2010, 01:19 AM
Hi

    I am have attached a jpeg of two pie charts. 1st I got from google and the 2nd one created using Telerik RadChart for Silverlight. Is it possible to have the labels(not on top of the pie) seperately with a arrow point to the pie like it is in the 1st chart.

Thanks
Saran

10 Answers, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 01 Apr 2010, 03:58 PM
Hi Saravanan Thiruchabai,

You can achieve similar look using the new labels API we added to the last version of the control. Here is a sample code:
PieSeriesDefinition def = new PieSeriesDefinition();
def.RadiusFactor = 0.5;
def.LabelSettings.ShowConnectors = true;
def.LabelSettings.SpiderModeEnabled = true;

Regards,
Velin
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Marcus Lambert
Top achievements
Rank 1
answered on 08 Apr 2010, 03:42 PM
Hi,
I take it that you cant do this in XAML at the moment?
Marcus
0
Oztern Technology
Top achievements
Rank 1
answered on 09 Apr 2010, 03:07 PM
Hi
The explained properties can't be found on the 2010 version of telerik. Can you please help
SUNU
0
Velin
Telerik team
answered on 13 Apr 2010, 03:05 PM
Hello Marcus,

Here is how you can set up the same code in xaml:
<telerik:RadChart x:Name="RadChart1">
    <telerik:RadChart.DefaultSeriesDefinition>
        <telerikCharting:PieSeriesDefinition RadiusFactor="0.5">
            <telerikCharting:PieSeriesDefinition.LabelSettings>
                <telerikCharting:RadialLabelSettings ShowConnectors="True" SpiderModeEnabled="True"/>
            </telerikCharting:PieSeriesDefinition.LabelSettings>
        </telerikCharting:PieSeriesDefinition>
    </telerik:RadChart.DefaultSeriesDefinition>
</telerik:RadChart>


Kind regards,
Velin
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Saravanan Thiruchabai
Top achievements
Rank 1
answered on 27 Apr 2010, 10:30 PM
Is it possible to do the same with 3D PieChart?
I dont see a property RadiusFactor for Pie3dSeriesDefinition.

Thanks
Saran
0
Velin
Telerik team
answered on 29 Apr 2010, 01:36 PM
Hello Saravanan Thiruchabai,

Unfortunately, this. functionality is only available for the two dimensional chart types.

Sincerely yours,
Velin
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Saravanan Thiruchabai
Top achievements
Rank 1
answered on 29 Apr 2010, 07:44 PM
I tried using LabelOffSet, ChartArea.SmartLabelsEnabled = true,

assetAllocationChart.DefaultSeriesDefinition.SeriesItemLabelStyle, nothing seems to be working with related to 3dPieChart Labels. Wont these work for 3d Pie Chart?

Find the attached 3d Pie Chart. The labels are overlapping eachother. I tried setting the LabeOffSet it didn't work.
I tried changing the background color of the label to be transparent and reducing the fontsize using assetAllocationChart.DefaultSeriesDefinition.SeriesItemLabelStyle. Nothing seems to work.

Thanks
Saran

0
Velin
Telerik team
answered on 04 May 2010, 11:16 AM
Hello Saravanan Thiruchabai,

Unfortunately, this functionality is not available for the 3D Pie chart.

Please, accept our apologies for this inconvenience.

All the best,
Velin
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Saravanan Thiruchabai
Top achievements
Rank 1
answered on 06 May 2010, 11:22 PM

Hi Velin,

 

    Since the labels were overlapping I made the Labels hidden by setting ShowItemLabels = false and I tried the following code to show tooltips in 3D Pie chart. It didn't show any tooltip. Does this functionality work in 3D Pie chart?
Pie3DSeriesDefinition assetPS = new Pie3DSeriesDefinition();

 

assetPS.ShowItemToolTips =

true;

 

assetPS.ItemToolTipFormat =

"#LegendLabel";

 

 

Thanks
Saran

0
Velin
Telerik team
answered on 12 May 2010, 08:31 AM
Hello Saravanan Thiruchabai,

Tooltips are not supported in the 3D Silverlight charts either. If you need these features I would suggest you to stick with the 2D pie chart.

Please, accept our apologies for this inconvenience.

All the best,
Velin
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart
Asked by
Saravanan Thiruchabai
Top achievements
Rank 1
Answers by
Velin
Telerik team
Marcus Lambert
Top achievements
Rank 1
Oztern Technology
Top achievements
Rank 1
Saravanan Thiruchabai
Top achievements
Rank 1
Share this question
or