inagendra

How To Hide X And Y-Axis?

Recommended Posts

Hi,

 

I need to generate a chart which is shown in the attached image.

 

post-7185-0-64765100-1324279491_thumb.jpg

 

I am thinking of using Stacked Bar 2D chart without X and Y-axis. Is it possible to hide X and Y-axis?

 

If there is any other chart or option that I can make use of, please suggest.

 

Regards,

Nagendra

Share this post


Link to post
Share on other sites

Hi,

 

Can some one reply to my query below?

 

Regards,

Nagendra

 

Hi,

 

I need to generate a chart which is shown in the attached image.

 

post-7185-0-64765100-1324279491_thumb.jpg

 

I am thinking of using Stacked Bar 2D chart without X and Y-axis. Is it possible to hide X and Y-axis?

 

If there is any other chart or option that I can make use of, please suggest.

 

Regards,

Nagendra

Share this post


Link to post
Share on other sites

Hi Nagendra,

 

Yes, you would be able to use Stacked bar 2D chart.

 

By setting the "showYAxisvalue" attribute set as zero and by an empty category element would hide the X and Y axis.

 

<chart caption='Automation Vs Manual testing' borderAlpha='0' canvasbgAlpha='0' numDivLines='0' divLineAlpha='0' showYAxisValue='0'  stack100Percent='1' showLegend='0' useRoundEdges='1'>
<categories>
 	<category />
</categories>
<dataset seriesName='Product A'>
 	<set value='20400' displayValue="Automation{br}65%" />
 </dataset>
 <dataset seriesName='Product B'>
 	<set value='10000' displayValue="Manual{br}35%"/>
  </dataset>
</chart>

 

I hope this helps.:)

stackedBar.PNG

Share this post


Link to post
Share on other sites

Hi Radis,

 

Thanks for the reply. It works fine, only thing is wrapping the text to a new line. You have kept a {br} in the display value. For me, it is getting displayed as it is. It is not displaying the text in a new line.

 

Regards,

Nagendra

 

Hi Nagendra,

 

Yes, you would be able to use Stacked bar 2D chart.

 

By setting the "showYAxisvalue" attribute set as zero and by an empty category element would hide the X and Y axis.

 

<chart caption='Automation Vs Manual testing' borderAlpha='0' canvasbgAlpha='0' numDivLines='0' divLineAlpha='0' showYAxisValue='0'  stack100Percent='1' showLegend='0' useRoundEdges='1'>
<categories>
 	<category />
</categories>
<dataset seriesName='Product A'>
 	<set value='20400' displayValue="Automation{br}65%" />
 </dataset>
 <dataset seriesName='Product B'>
 	<set value='10000' displayValue="Manual{br}35%"/>
  </dataset>
</chart>

 

I hope this helps.:)

Share this post


Link to post
Share on other sites

Hi Radis,

 

I was using Fusion Charts 3, that could be the reason why wrapping was not working.

 

Now I moved to 3.2 and it works fine there.

 

Thanks for help.

 

Regards,

Nagendra

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