Sign in to follow this  
vinoo

How To Render Horizontal Stacked Bar Chart

Recommended Posts

I'm trying to render a Horizontal stacked bar chart as show in Hstacked.png that is attached.

 

Looked at the Sample XML for the same Chart displayed at http://www.fusioncharts.com/gallery/Category.asp?Stacked. But for some reason when I render the chart it it is not rendering Horizontaly. Not sure what was going on. I was using StackedColumn3D.swf for the Chart type.

 

 

<chart palette='2' caption='Product Comparison' showLabels='1' showvalues='0' numberPrefix='$' showSum='1' decimals='0' useRoundEdges='1' legendBorderAlpha='0'>

<categories>

<category label='Product A' />

<category label='Product B' />

<category label='Product C' />

<category label='Product D' />

<category label='Product E' />

</categories>

<dataset seriesName='2004' color='AFD8F8' showValues='0'>

<set value='25601.34' />

<set value='20148.82' />

<set value='17372.76' />

<set value='35407.15' />

<set value='38105.68' />

</dataset>

<dataset seriesName='2005' color='F6BD0F' showValues='0'>

<set value='57401.85' />

<set value='41941.19' />

<set value='45263.37' />

<set value='117320.16' />

<set value='114845.27' />

</dataset>

<dataset seriesName='2006' color='8BBA00' showValues='0'>

<set value='45000.65' />

<set value='44835.76' />

<set value='18722.18' />

<set value='77557.31' />

<set value='92633.68' />

</dataset>

</chart>

post-6659-0-57798200-1320185823_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
Sign in to follow this