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.

AdornmentsInfo display format

Thread ID:

Created:

Updated:

Platform:

Replies:

92026 Dec 15,2009 03:25 AM Dec 16,2009 08:11 AM WPF 3
loading
Tags: Chart
Olivier VAYSSIE
Asked On December 15, 2009 03:25 AM

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

Murugavel P [Syncfusion]
Replied On December 15, 2009 08:43 AM

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

Olivier VAYSSIE
Replied On December 16, 2009 04:21 AM

Hello,

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 08:11 AM

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


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.

;