Sign in to follow this  
rohit111111

Customized color of bars

Recommended Posts

Hello,

 

Can we give specific color to any specific bar of column/bar chart and color for line in multi-series line chart?

 

Thanks,

Rohit

Edited by rohit111111

Share this post


Link to post
Share on other sites

Hi,

 

Yes, it is possible to specify custom color for each data plot or for each category.

 

For specifying color for each data plot, you need to use "color" attribute at set level:

 

Ref.

<set .... color='FF0000' />

 

For specifying color for each dataset in a Multi-series chart, you need to use "color" attribute at dataset level:

 

Ref.

<dataset color='00FF00' ... >

 

For more information, refer : http://docs.fusioncharts.com/charts/contents/index.html?AttDesc/DataPlot.html

 

 

Also, if you want to suffix all the numbers visible on the chart with "%", then you may use the attribute "numberSuffix" and set it to "%".

 

Ref.

<chart ... numberSuffix='%' >

 

For more information, refer : http://docs.fusioncharts.com/charts/contents/index.html?AttDesc/Number_Basics.html

 

Hope this helps.

 

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