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

Stacking Column Chart - dynamic AdornmentsInfo foreground

Thread ID:





120732 Oct 8,2015 07:34 PM UTC Oct 12,2015 12:53 PM UTC WPF 3
Tags: SfChart
George Sterg
Asked On October 8, 2015 07:34 PM UTC

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 01:07 PM UTC

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 06:49 PM UTC

Thank you very much! The SegmentLabelContent was missing!


Santhiya Arulsamy [Syncfusion]
Replied On October 12, 2015 12:53 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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