Sign in to follow this  
smitab24

Problem With Combination Chart (Dual Y Axis)

Recommended Posts

post-29753-0-39803800-1347531666_thumb.jpgpost-29753-0-39803800-1347531666_thumb.jpgHello,

 

I have integrated combination chart (Dual Y axis).

I have all positive-negative mix combination values ploting on left y-axis . And only positive value on right y-axis. So, right y-axis values start from 0 and left y-axis start from e,g -100, 0, 100.

I want to show both 0 from left and right y-axis on same line.

 

Please find attachment for your reference.

 

Please, suggest how to do this. Reply as soon as you can.

 

Regards,

Smita

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Smita,

 

From the screen-shots I can understand that your data contains negative values.

 

Chart will consider the negative value as lowest one and according to this chart sets the limit and will display lowest limit for y-axis.

 

And the data plotting on secondary y-axis does not contain any negative value, so it is starting from the 0.

 

If you want to display both axes from same limit i.e., "0" you would have to omit negative values from chart XML.

 

Please refer this URL, for Multi-series Combination 2D Dual Y Chart XML specification sheet:

http://docs.fusionch.../Combi2DDY.html

Share this post


Link to post
Share on other sites

Hi Sumedh,

 

Thanks for your response.

 

But, I want both negative and positive value. Its in our requirement. Its not possible to omit negative values.

So, i need both 'o' on same line with negative values.

Please suggest.

 

Thanks in advance.

Smita.

 

Hi Smita,

 

From the screen-shots I can understand that your data contains negative values.

 

Chart will consider the negative value as lowest one and according to this chart sets the limit and will display lowest limit for y-axis.

 

And the data plotting on secondary y-axis does not contain any negative value, so it is starting from the 0.

 

If you want to display both axes from same limit i.e., "0" you would have to omit negative values from chart XML.

 

Please refer this URL, for Multi-series Combination 2D Dual Y Chart XML specification sheet:

http://docs.fusionch.../Combi2DDY.html

Share this post


Link to post
Share on other sites
Guest Sumedh

Hey Smita,

 

Apologies for the miscommunication.

 

If you are trying to synchronize the Y- axes, then you can use "syncAxisLimits" attribute.

 

Set this attribute as "1".

 

Ref. Code:

<chart ... syncAxisLimits='1'>

 

Also, find attached screen-shot for your reference.

post-24802-0-35615500-1347538377_thumb.png

Share this post


Link to post
Share on other sites

Hi Sumedh,

 

Thanks for your quick reply.

 

But, it seems that "syncAxisLimits" attribute is not working. Tried with this attribute,nothing happens.

Please suggest.

 

Thanks in advance,

Smita.

Hey Smita,

 

Apologies for the miscommunication.

 

If you are trying to synchronize the Y- axes, then you can use "syncAxisLimits" attribute.

 

Set this attribute as "1".

 

Ref. Code:

<chart ... syncAxisLimits='1'>

 

Also, find attached screen-shot for your reference.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Apologies for the mis-communication.

 

The attached screen-shot of chart was rendered in Flash.

 

"syncAxisLimits" does not work with JavaScript chart, But this has been identified already as a bug and it has been fixed also.

 

And the fix would be available in the next release.

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