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 data-specific value background

Thread ID:

Created:

Updated:

Platform:

Replies:

84613 Jul 1,2009 02:55 PM UTC Jul 6,2009 09:28 AM UTC WPF 1
loading
Tags: Chart
Administrator [Syncfusion]
Asked On July 1, 2009 02:55 PM UTC


Hello,

I want to set the background of line chart values depending on value or another property in the data source table.

(I tried to use a trigger in the AdornmentsInfo.LabelTemplate, but don't know in the trigger how to check the current single chart position.)

For example, if I have the values 100, 110, 120, 140, I want to highlight the 110 and 140.


Is this possible?


Thanks in advance
Mike

Administrator [Syncfusion]
Replied On July 6, 2009 09:28 AM UTC

Hi Mike,

Thanks for your interest in Syncfusion products.

I hope by background, you mean the line segment color. Please refer to the sample from the below given link, that illustrates a chart with custom line template. This template uses DataTriggers and check for values 110 and 140 and sets blue color.

http://files.syncfusion.com/support/Chart.WPF/7.3.0.6/84613/main.htm

Please let us know if this helps. Also please let me know if I have misunderstood your query.

Regards,
K. Saradha Devi

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

;