Charles.Essien

Infinite (Greater Than Or Less Than) Trend Zones

Recommended Posts

I want to be able to specify a Trend Zone with an infinite range, either starting form a value and coloring all values greater unconditionally or coloring a range of values up until the ending value. Currently when I specify a trend line with isTrendZone='1' and just an arbitrary startValue, the trend zone simply draws as a line.

 

Is there a way to specify infinite trend zones?

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

With regard to your query, please note that the Trend Zone is supported by FusionCharts XT only for the finite range of values.

 

So, as a work around you need to find the maximum value of your dataset and set the "endValue" of the TrendLine to some higher value than that value.

 

Ref. Code:

<trendLines>
 	<line startValue='7000' endValue='8000' isTrendZone='1'  /> 
</trendLines> 

 

For more information on "XML/JSON attributes for TrendLines/TrendZones", please follow the link below:

http://docs.fusioncharts.com/charts/contents/?AttDesc/Trend.html

 

Hope this helps!

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