Sign in to follow this  
Rahul Kumar

Turn off secondary axis?

Recommended Posts

Is there a way of switching off the secondary Y axis on MSStackedColumn2DLineDY ?

I'm looking for a combination multi-series stacked bar chart with line but which uses a single Y axis - I need all of the data series plotted against the same scale.

Thanks.

Share this post


Link to post
Share on other sites

Thanks Rahul. Unfortunately, this hides the secondary axis but the <lineSet> data series is still plotted as if it was there i.e. against a different scale. Is there a way to force the <lineSet> to use the primary axis?

Share this post


Link to post
Share on other sites

Hi,

 
Could you please try to specify the limits (Y-Axis Maximum and Y-Axis Minimum) for both the axes, this will force the lineset to draw on the same scale?
 
Example:
 
<chart... PYAxisMaxValue='100'  SYAxisMaxValue='100'  SYAxisMinValue='0' ...>   

Share this post


Link to post
Share on other sites

This worked, Rahul. Thanks!

I ended up having to take control over the formatting of the div lines on the axes as well, in order to get them to show properly but it looks good:)

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