Sign in to follow this  
pierrej

how modify the color of each column?

Recommended Posts

Hello everybody!

 

First, please excuse me for my english, I'm a french developer ! ^^

 

 

 

I have a question about fusionchart and I hope I'm at the right place to put my question:

 

 

 

How can I modify the colors in each columns of this graphic: column3D.swf?

 

What is the code in the xml file?

 

 

 

Indeed, when we generate a column3D graphic, the colors are :

 

- first blue,

 

- yellow,

 

- green,

 

- ...

 

for example, I want to modify blue to black and yellow to red

 

 

 

How can I do this please?

 

 

 

Thank you!

 

 

 

Pierre

Share this post


Link to post
Share on other sites

Hi,

Could you please use color attribute for that?

<Chart >

<set value="20" label="class 1" color='000000' />

<set value="40" label="class 2" color='FF0000' />

<set value="90" label="class 3" color='1af120' />

</Chart>

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