Sign in to follow this  
Pallav

Bar 3D

Recommended Posts

Hi,

 
Could you please try using the XML below?
 
<chart palette='2' caption='Country Comparison' shownames='1' showvalues='0' decimals='0' numberPrefix='$'>

 <!- Here goes your data labels ->

 <categories>

  <category label='Austria' />

  <category label='Brazil' />

  <category label='France' />

  <category label='Germany' />

  <category label='USA' />

 </categories>

 <!- Here goes your data values ->

 <dataset 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> 

</chart>

 
Edited by Guest

Share this post


Link to post
Share on other sites

Well yes it works but the XML you just gave me is a Multiserie XML.

 

 

 

If you try with this one it is not gonna work:

 

 

 

 

< chart labelDisplay="Wrap" baseFontSize="10" showValues="0">

 

< set label="0-30" value="15260.23" />

 

< set label="31-60" value="1216.51" />

 

< set label="61-90" value="12253.25" />

 

< set label="91-120" value="201" />

 

< /chart>

 

Edited by Guest

Share this post


Link to post
Share on other sites

Ok so the work around is to create a multiserie XML with only one dataset...which is equivalent to a singleserie chart at the end.

 

 

 

Well I should be able to deal with that. :)

 

 

 

Thanks

Share this post


Link to post
Share on other sites

I've tried using the MSBar3D to create a 3D single series bar chart and it works, but the colours of all the bars are the same. I'm not sure yet how to ensure the colours of each bar are different with a single series multiseries bar chart. Any ideas?

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :)

Please try using the attribute "color" in the <set> element for the same.

Ref.- <set label='a' value='20' color'ff0000'/>

  <set label='b' value='30' color'00ff00'/>

  <set label='c' value='40' color'0000ff'/>

  ...........

Hope this helps. :)

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