Álvaro González

Hide Primary Axis

Recommended Posts

I'm using 2D Dual Y Combination Chart plots (MSCombiDY2D.swf) to represent data in two different scales. There're circumstances where there's nothing to plot in the primary (left) axis. Is it possible to completely hide such axis?

 

So far, if I omit the PYAxisName key and I don't provide any series with parentYAxis equal to 'P' I get this:

 

mscombidy2d.png

 

Please note the bogus zeroes.

 

I know I could choose another plot type but I like keeping the axis to the right so it's coherent with other graphs.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

A warm welcome to FusionCharts Forum! smile.gif

 

To achieve this, you would need to use following attribute configuration.

 

Ref. Code:

<chart ... showDivLineValues='0' showLimits='0' showSecondaryLimits='0'>

 

> showDivLineValues attribute - Whether to show div line values. If not specified showYAxisValues attribute over-rides this value.

 

> showLimits attribute - Whether to show chart limit values. If not specified showYAxisValues attribute over-rides this value.

 

> showSecondaryLimits attribute - Whether to show secondary axis chart limit values.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?ChartSS/Combi2DDY.html

 

Also, find attached screen-shot for your reference.

 

Hope this helps!

post-24802-0-16644100-1351576230_thumb.png

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