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
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.
I take it that you cant do this in XAML at the moment?
Marcus
The explained properties can't be found on the 2010 version of telerik. Can you please help
SUNU
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.
I dont see a property RadiusFactor for Pie3dSeriesDefinition.
Thanks
Saran
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.
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
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.
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
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.