We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Try with Pie Control

Thread ID:

Created:

Updated:

Platform:

Replies:

113717 Oct 6,2013 05:19 PM Oct 21,2013 02:14 AM WPF 8
loading
Tags: Chart
Luis Champion
Asked On October 6, 2013 05:19 PM

Hi,

We are implementing with foot control, but we have failed to embed the percentage in it.

Some sujerencia?.

Thank you.

 



Syncfusion_Pie_59503d53.zip

Muneesh Kumar G [Syncfusion]
Replied On October 7, 2013 06:16 AM

Hi Luis,

Thanks for using Syncfusion Products.

We can achieve your requirement by applying LabelTemplate as per the below code snippet.

Code snippet [XAML]:

<syncfusion:ChartSeries.AdornmentsInfo>

<syncfusion:ChartAdornmentInfo  x:Name="Adornments" LabelContentPath="DataPoint.Tag" Visible="True"  SegmentShowLine="False" SegmentHorizontalAlignment="Center" SegmentVerticalAlignment="Top" LabelTemplate="{StaticResource LabelsTemplate}" />

</syncfusion:ChartSeries.AdornmentsInfo>

We have prepared a sample based on this and you can find the sample under the following location:

Please let us know if you have any queries.

Regards,

Muneesh Kumar G.



Pie_Chart_Demo_d02aed8f.zip

Luis Champion
Replied On October 7, 2013 11:18 AM

Thanks for you response,

What we need is to replicate the example in the attached image.

Handle two Syncfusion: ChartSeries.AdornmentsInfo, one representing the percentage and another representing other values.

The percentage value must be within the foot, and values ​​out. All this in a single Pie Control.


Muneesh Kumar G [Syncfusion]
Replied On October 8, 2013 03:00 AM

Hi Luis,

Currently we don’t have a support for Multiple ChartAdornment for a single ChartSeries.

Regards,

Muneesh Kumar G.


Muneesh Kumar G [Syncfusion]
Replied On October 8, 2013 06:36 AM

Hi Luis,

We can achieve your requirements in our new SfChart control by setting LabelTemplate, SymbolTemplate and ConnectorHeight as per the below code snippet.

Code Snippet[XAML]:

<syncfusion:ChartAdornmentInfo      ShowMarker="True" Symbol="Custom"

SymbolTemplate="{StaticResource LabelsTemplate1}" SymbolInterior="Red"

ConnectorLineStyle="{StaticResource lineStyle}" SymbolHeight="20" SymbolWidth="20" ShowLabel="True" LabelTemplate="{StaticResource LabelsTemplate}"  

SegmentLabelContent="XValue" SegmentLabelFormat="#" ShowConnectorLine="True" ConnectorHeight="120"  AdornmentsPosition="Top"  />

 

We have prepared a sample based on this and you can find the sample under the following location:

Please let us know if you have any queries.

Regards,

Muneesh Kumar G.



Pie_Chart_Demo_c9775e2d.zip

Luis Champion
Replied On October 16, 2013 04:36 PM

Hi Muneesh

Thanks for the support.

In the sample project to change the window size, the values ​​around the Pie control are lost.

Any idea how to control this?

Thank you very much.



Test_Pie_Control_with_external_Labels_184a450e.zip

Muneesh Kumar G [Syncfusion]
Replied On October 18, 2013 08:54 AM

Hi Luis,

Thanks for you update.

As per your requirement we have modified our sample. Please find the sample from the following location.

Please let us know if you have any queries.

Thanks,
Muneesh Kumar G



Pie_Chart_Demo_d26a2eeb.zip

Luis Champion
Replied On October 18, 2013 01:38 PM

Hi Muneesh,

The project you sent me also to Silverligth?.

We need to implement the same functionality for Silverligth.

 

Thank you!


Muneesh Kumar G [Syncfusion]
Replied On October 21, 2013 02:14 AM

Hi Luis,

As per your requirement we have prepared a sample in Silverlight. Please find the sample in the following location.

Please let us know if you have any queries.

Regards,

Muneesh Kumar G.



PieChart_Silverlight_64dbc1e2.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;