FusionCharts Forum: Column3D show the same colors for each bar - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Column3D show the same colors for each bar

#1 User is offline   faye 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 02-August 10

Posted 03 August 2010 - 09:18 AM

Hi,



i m using the FusionChartsFree, my problem face here is i display the Column3D show the same colors for each bar. How to change the charts to differen color for each bar?



i using the FCF_Column3D.swf.





Thanks
0

Other Replies To This Topic

#2 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 03 August 2010 - 09:59 AM

Hi,



Welcome to the FusionCharts Forum! ;)



Could you please try using the 'color' attribute in the <set> element to specify different colors for the different data columns!

For ex: <set name='Taiwan' value='33' color='F6BD0F'/>



Ref.- http://www.fusioncha...L_Column3D.html



I hope this helps.
Regards,

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

#3 User is offline   faye 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 02-August 10

Posted 03 August 2010 - 09:30 PM

Hi,



My was connected to mysql database.

here is my code

$strXML .= "";



so, for each bar will show the #F6BD0F color. Do u have any idea to changed each bar color when the set name is connected to database.





~faye
0

Other Replies To This Topic

#4 User is offline   Rohit Kumar 

  • Junior Member
  • Group: Moderators
  • Posts: 11
  • Joined: 15-February 10

Posted 04 August 2010 - 12:35 AM

Hello,



This is happening because you are using same color for each , could you please try using an array containing different colors to show in the columns.

Ex:

$color = array("F6BD0F", "E38217", "8B8B00", "1C86EE", "6600FF");

$i=0;

$strXML .= "";

$i++;



hope this helps.
Regards,

Rohit Kumar
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic