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.
Syncfusion Feedback

AdornmentsInfo with labels of one character

Thread ID:

Created:

Updated:

Platform:

Replies:

91890 Dec 8,2009 01:45 PM UTC Dec 10,2009 09:28 AM UTC WPF 3
loading
Tags: Chart
Olivier VAYSSIE
Asked On December 8, 2009 01:45 PM UTC

Hello,

In the modified example I attached, clicking "change" switch between items of caption R1,R2,R3... and items of caption 1,2,3... I initiliazed AdornmentsInfo with .AdornmentsInfo.LabelContentPath = "DataPoint.Tag" (DataPoint.X does not work in this case). It is working with labels Rn but not with labels n.
How can I display the label using adornment so that it will work whatever item I have ?

Thank you for any help you could bring me.

Olivier Vayssié



Column_f6644e36.rar

Murugavel P [Syncfusion]
Replied On December 9, 2009 05:54 AM UTC

Hi Olivier Vayssie,

Thanks for choosing Syncfusion products.

By default if you bind the string value content to the BindingPathX property of Chart series then you can directly use the "DataPoint.Tag" for Adornment label content.

If you bind the double value content to the BindingPathX property then you can initialize adornment label content by using "DataPoint.Tag.PropertyName".

Where as here you are using the DataTable object for Chart series DataSource. So you can initialize by using the following way.

C#:
this.Chart1.Areas[0].Series[0].AdornmentsInfo.LabelContentPath = "DataPoint.Tag.ItemArray[1]";


We made some changes in your sample to achieve your requirement. Please find the attached sample from the below location for more information.
http://help.syncfusion.com/support/Chart.WPF/7.4.0.20/F91890/main.htm

Let us know if you have any questions.

Thanks & Regards,
Murugavel P

Olivier VAYSSIE
Replied On December 9, 2009 09:48 AM UTC

Hello,

Thank you for your quick answer. It does not answer my problem, because in the end I will have a mix of data with one or more characters in the same series. I need one LabelContentPath to work for both format.

Cordially,

Olivier Vayssié

Murugavel P [Syncfusion]
Replied On December 10, 2009 09:28 AM UTC

Hi Olivier Vayssie,

Sorry for the inconvenience caused. We are able to reproduce this issue. We really appreciate you to bringing this issue to our attention. We have filed a bug report about this issue and the fix for this issue will be available within one week time period or earliest.

Please let us know if you have any questions.

Thanks for choosing Syncfusion products.

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.

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

;