Sign in to follow this  
ravi_1143

How to draw vertical (x-axis) trend lines

Recommended Posts

using vline in between categories we can diplay the vertical line as below

<chart caption='Monthly Revenue' xAxisName='Month' yAxisName='Revenue' numberPrefix='$' showValues='0'>
<set label='Oct' value='420000' />
<set label='Nov' value='910000' />
<set label='Dec' value='680000' />
[b][font=" 'Courier New'"] <vLine/>[/font][/b]
<set label='Jan' value='720000' />
<set label='Feb' value='810000' />
<set label='Mar' value='510000' />
[/Code]

The vertical line appears in between the x-axis elements Dec and Jan, but we need it to display on selected x-axis elements. and the intersection points to be higlighted

 

Share this post


Link to post
Share on other sites

If vertical lines can't be shown, is it possible to have alternating colored gridlines, as in the Y axis? For example, I have a line graph that shows cpu loads across a date range, usually 2 weeks. If i could somehow juxtapose week 1 versus week 2, without having to use a multi series line graph, that would be cool.

 

 

 

Actually, I think I just answered my own question -- I can change the color of a line halfway through the graph, I might do that.

Share this post


Link to post
Share on other sites
Guest Rajroop

Heylo Keegan,

 

 

 

Glad you figured it out.

 

Happy FusionCharting. :)

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