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. Image for the cookie policy date

Stacking Column Chart - dynamic AdornmentsInfo foreground

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

3 Replies

SA Santhiya Arulsamy Syncfusion Team 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.

GS George Sterg October 9, 2015 06:49 PM UTC

Thank you very much! The SegmentLabelContent was missing!


SA Santhiya Arulsamy Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon