chrissy

Dataplot Color Depending On Value

Recommended Posts

Hi all,

 

is it possible to set the color of a dataplot in Column Charts in dependence of the shown value. I.e. if value is between 0 and 5 it should be green, 5.1 to 7.5 yellow and < 7.6 red?

I'm using FusionCharts in iReport Pro and tried to set it with an expression in palette colors, but it takes the same color for all dataplots as selected for the first, so first is green all is green.

 

Thanks for any hint.

chrissy

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

I am afraid, FusionCharts does not support the feature you are looking for, at this time.

 

You would need to use your own code in order to suffice your requirement.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

Share this post


Link to post
Share on other sites

Hello Angshu,

 

Thanks for the warm welcome ...

Do you think this could be done with a stacked column chart??? Can I set colors for series. So that series1 would be green, series 2 yellow and series 3 red?

And if I send a null value for a series will the stack be "hidden" in the plot?

 

Thanks for your help.

chrissy

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Thanks for your response.

 

For stacked charts, you can define the color of data-sets at dataset level using <color> attribute. However, if you wish to highlight a particular data element, you can specify its color at "set" level using this attribute.

More details at: http://www.fusioncha...D.html#Anchor15

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Glad to know that you have managed to resolve your purpose.

 

Happy FusionCharting!biggrin.gif

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