Sign in to follow this  
Phillip

How To Give Each Label Their Own Color?

Recommended Posts

Hi,

 

I have an requirement from my customer to show a pie chart with several dates (could be 5, could be 10). Each label should have a color: If date is before today it should be red, if the date is within the next 5 days it should be orange, otherwise it should be green.

So in essence what I will need is something line this:

 

 

<chart caption='Discharge dates'>

<set label='7 Feb 2011' labelColor="RED" value='2' />

<set label='9 Feb 2011' labelColor="RED" value='5' />

<set label='11 Feb 2011' labelColor="ORANGE" value='4' />

<set label='14 Feb 2011' labelColor="ORANGE" value='10' />

<set label='15 Feb 2011' labelColor="GREEN" value='2' />

<set label='18 Feb 2011' labelColor="GREEN" value='4' />

<set label='19 Feb 2011' labelColor="GREEN" value='7' />

</chart>

 

Can this be done in the commercial version? If not, is this on the roadmap? If so, when could we expect this?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! :)

 

Please note that the color of the labels can be changed by applying "Font Styles" on the "DATALABELS" object. But in this case the color specified would be applied globally

 

I am afraid, FusionCharts does not support specifying different colors to individual labels, as of now. :)

 

Hope this helps. :)

Share this post


Link to post
Share on other sites
Guest Sumedh

Greetings, smile.gif

 

We have added this request in our feature wishlist.

 

We will update you this. as it will be released.

 

Hope you have a great day. smile.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
Sign in to follow this