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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set The AdornmentsPosition for each segment

Thread ID:

Created:

Updated:

Platform:

Replies:

121212 Nov 19,2015 08:01 AM UTC Nov 26,2015 07:14 AM UTC WPF 9
loading
Tags: SfChart
George Sterg
Asked On November 19, 2015 08:01 AM UTC

Hello,

Is it possible to set the AdornmentsPosition property for each individual segment of a chart ?

Thanks

 George

Santhiya Arulsamy [Syncfusion]
Replied On November 20, 2015 09:21 AM UTC

Hi George,

Thanks for contacting Syncfusion support.

We have analyzed your requirement. In SfChart, AdornmentPosition functionality will be applied to all the adornments in the series. Please provide more information about your requirement. This would help us to give you an appropriate solution.

Thanks,

Santhiya A.

George Sterg
Replied On November 20, 2015 09:25 AM UTC

I would like to set some adornments with TopBottom position and other with Top position. I would to change that  by setting it from the labelTemplate ( a TextBlock for example).

Santhiya Arulsamy [Syncfusion]
Replied On November 20, 2015 03:48 PM UTC

Hi George,

Thanks for your update.

We have prepared a work around sample to place an adornment either in Top or TopBottom based on the segment’s height. Please find the sample from the following location.

Sample: Adornment_121212

Thanks,

Santhiya A.

George Sterg
Replied On November 23, 2015 06:11 PM UTC

Hello Santhiya,

Thanks the sample was very helpful. I also nee your assistance  to rotate the label segment based on the segment’s width. How can I do that?

Thanks in advance

Attachment: updated_Adornment_12121274691727_e452f16a.zip

Santhiya Arulsamy [Syncfusion]
Replied On November 24, 2015 12:47 PM UTC

Hi George,

Thanks for your update.

You can achieve your requirement by using the LabelRotationAngle property in the AdornmentInfo. We have modified the sample for your reference. Please find the sample from the following location.

Sample: Adornment_121212

Thanks,

Santhiya A

George Sterg
Replied On November 24, 2015 01:27 PM UTC

Santhiya,
The sample is giving me an error that the AdornmentInfo has no definition for the LabelRotationAngle. I'm using the 13.1451.0.21 version.

Thanks.

Santhiya Arulsamy [Syncfusion]
Replied On November 25, 2015 09:53 AM UTC

Hi George,

Sorry for the inconvenience caused.

“LabelRotationAngle for Adornments” feature available from 13.2 release version. Could you please upgrade to the latest version? Or else please find the modified sample with a work around from the following location.

Sample: Adornment_121212

 
Regards,

Santhiya A

George Sterg
Replied On November 25, 2015 01:02 PM UTC

Hi Santhiya,

Currenty I will use the work around, but an update is a "to-do" in the future.

Thanks

Santhiya Arulsamy [Syncfusion]
Replied On November 26, 2015 07:14 AM UTC

Hi George,

Thanks for your update.

Please let us know if you need any further assistance.

Thanks,

Santhiya A

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

;