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. Image for the cookie policy date

Pie Chart Label Positions

Hi,

Is there a way to specify the position of the labels on a pie chart? ie. Outside the pie segment, on the pie segment etc?

Thanks

1 Reply

SS Sheik Syed Abthaheer M Syncfusion Team March 21, 2013 07:29 AM UTC

Hi Hayley,

Thanks for using Syncfusion Products.

We have analyzed your query, and please find our response below.

We can able to customize the position of the data labels(Adornments) inside the Pie Chart segment by applying SegmentHorizontalAlignment and SegmentVerticalAlignment Properties as shown in the given code snippet.

Code snippet[Xaml]:

<syncfusion:ChartSeries.AdornmentsInfo>

<syncfusion:ChartAdornmentInfo LabelContentPath="DataPoint.Tag" Visible="True"  SegmentHorizontalAlignment="Center"   SegmentVerticalAlignment="Top"/>

</syncfusion:ChartSeries.AdornmentsInfo>

However in Accumulation Chart like ( PieSeries, PyramidSeries, DoughnutSeries, FunnelSeries ) we do not have a support for positioning the data label (Adornments) in outside of the Segment.

Please let us know if you have any queries.

Regards,

M. Sheik Syed Abthaheer


Loader.
Live Chat Icon For mobile
Up arrow icon