princej88

Possible To Have More Than Two Y Axis?

Recommended Posts

Hi,

 

I am not sure if this is possible but thought I would ask. Say I have a dual y axis chart with two bar columns and a line. Just like the sales (multi series) example in the fusion charts xt gallery. I have attached a screenshot so you can see exactly what I am referring to. In the example, Product A is the blue bar, Product B is the gold bar and Total Quantity is the green line. What I want to do is show the Y values for Product A (blue bar) on the left side (Revenue) and show the Y values for Product B (gold bar) on right right side (Quantity). I would like to display the Y values for the line graph just next to each point. So for the line graph, no Y values are displayed on the left or right side but the actual value for each point is just shown next to the point in the line graph. If you take a look at my attachment, you should be able to see exactly what I am referring to.Please let me know if this is possible.

 

Thanks ahead of time.

-Prince

 

post-29915-0-22973700-1348085419_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Welcome to the FusionCharts Forum :)

 

Thank you for the post.

 

You may display Y values for Product A (blue bar) on the left side (Revenue) and show the Y values for Product B (gold bar) on right right side (Quantity).

 

For the Product B specify 'parentYAxis' attribute and set it to 's'.

 

Ref. Code:

 <dataset seriesName='Quantity' parentYAxis='S'>

 

no Y values are displayed on the left or right side but the actual value for each point is just shown next to the point in the line graph.

>> This is not possible. You have to plot the values either to the Parent axis or the secondary axis. However, values can be displayed next to the point in the line graph.

 

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