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
close icon

AdornmentsInfo display format

Hello,
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?

Cordially,

Olivier Vayssié



Column_64653a27.rar

3 Replies

MP Murugavel P Syncfusion Team 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.

XAML:





C#:

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

Please download the updated sample from the following location.

http://help.syncfusion.com/support/Chart.WPF/7.4.0.20/F92026/main.htm

Let us know if you have any questions.

Thanks & Regards,
Murugavel P


OV Olivier VAYSSIE December 16, 2009 09:21 AM UTC

Hello,

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

Thank you again.

Olivier Vayssié


MP Murugavel P Syncfusion Team 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


Loader.
Live Chat Icon For mobile
Up arrow icon