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.

Stacking Column Chart - dynamic AdornmentsInfo foreground

Thread ID:





120732 Oct 8,2015 03:34 PM Oct 12,2015 08:53 AM WPF 3
Tags: SfChart
George Sterg
Asked On October 8, 2015 03:34 PM

Hello, I'm using  the StackingColumnSeries for charting. I'm inserting the StackingColumnSeries dynamically in code behind as well as the AdornmentsInfo. I want to make a  binding with the TextBlock foreground of the LabelTemplate in my AdornmentsInfo with the Interior of the ColumnSegment. How can i achieve that? I am attaching a sample for demostration.

In the ChartAdornmentForegroundConverter I change the foreground depending on the color of the segment.

Thank you,

George Sterg

Attachment: CS_d35539d5.zip

Santhiya Arulsamy [Syncfusion]
Replied On October 9, 2015 09:07 AM

Hi George,

Thanks for contacting Syncfusion support.

We can achieved your requirement and modified the sample . Please find the sample from the below location.

Santhiya A.

George Sterg
Replied On October 9, 2015 02:49 PM

Thank you very much! The SegmentLabelContent was missing!


Santhiya Arulsamy [Syncfusion]
Replied On October 12, 2015 08:53 AM

Hi George,

Thanks for your update.

Please let us know, if you need any further assistance on this.


Santhiya A.


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.