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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AdornmentsInfo display format

Thread ID:





92026 Dec 15,2009 08:25 AM UTC Dec 16,2009 01:11 PM UTC WPF 3
Tags: Chart
Asked On December 15, 2009 08:25 AM UTC

I try to apply a display format to AdornmentsInfo items. It is working when SegmentLabelContent equals Xvalue,percentage,etc... It is not working with SegmentLabelContent = LabelContent.LabelContentPath.
Is there another way to achieve that?


Olivier Vayssié


Murugavel P [Syncfusion]
Replied On December 15, 2009 01:43 PM UTC

Hi Olivier Vayssie,

Thanks for choosing Syncfusion Products.

You can format the segment label content by writing data template with the converter concept.

You can set the custom label template using the below code.



this.Chart1.Areas[0].Series[0].AdornmentsInfo.LabelTemplate = this.Resources["AdornmentTemplate"] as DataTemplate;

Please download the updated sample from the following location.


Let us know if you have any questions.

Thanks & Regards,
Murugavel P

Replied On December 16, 2009 09:21 AM UTC


Thank you for your quick answer.
It is working fine. That is exactly what I wanted to do.

Thank you again.

Olivier Vayssié

Murugavel P [Syncfusion]
Replied On December 16, 2009 01:11 PM UTC

Hi Olivier Vayssie,

Thanks for choosing Syncfusion products. Please do not hesitate to open a new forum support if you ever need further assistance from us.

Thanks & Regards,
Murugavel P


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon