Sign in to follow this  
Abid Sofi

Single-series Line Chart Threshold Coloring

Recommended Posts

I'm using MSLine.swf for single-series line chart.

I need to display trendlines on the graph - or more specifically threshold ranges (like green <= 100 | yellow >120 and <140 | red >140).

My question is:
 
With line colors being automatically selected, is it possible to include those trendline (threshold) colors?
 
Or how can we solve this problem in single-series line chart?

Thanks for any advice. 
  •  

Share this post


Link to post
Share on other sites
I'm using MSLine.swf for single-series line chart.

 

I need to display trendlines on the graph - or more specifically threshold ranges (like green <= 100 | yellow >120 and <140 | red >140).

 

My question is:

 

With line colors being automatically selected, is it possible to include those trendline (threshold) colors?

 

Or how can we solve this problem in single-series line chart?

 

Thanks for any advice. 

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,
 

The 'color' attribute of the <set> element is used to provide the color to the data plot explicitly.
 

The color to the line plots needs to be provided manually.

As per your needs, I suggest you to provide the color explicitly as per the chart plot range.

The attached item is the sample XML along with the screenshot of the chart rendered.

Hope this helps.

color.xml

post-47865-0-92947600-1385469168_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this