elad2109

Pie Lable Special Style

Recommended Posts

Hi everyone,

 

I'm using 3D pie with Label of the form: <Country>, <Change %> (=> + or -)

I wanted to ask few questions:

 

1. can a label contain html markup? meaning can I insert an image to the label?

2. If the answer for the above is "no", how come that I have to use html escape characters (like %2B instead of +), meaning it's not just a plan string. right ?

3. can I color in each label only the <Change %> in red (for -) or green (for +), while <Country> remains black ?

 

Thanks for any advice

Share this post


Link to post
Share on other sites

Hi,

 

1. can a label contain html markup? meaning can I insert an image to the label?

>> I am afraid, Pie chart does not support the image in the label. :)

Although we have created a hack of this, but this does not work for Pie chart.

 

2. If the answer for the above is "no", how come that I have to use html escape characters (like %2B instead of +), meaning it's not just a plan string. right ?

>> Labels are string data, hence you can give all these labels directly. But for the special punctuation marks like "<", ">", "+" etc. you would need to URL encode the characters before passing it to the chart.

 

For further details on the above, please refer to the following link.

http://www.fusioncharts.com/docs/?SpPunctuation.html

 

3. can I color in each label only the <Change %> in red (for -) or green (for +), while <Country> remains black ?

>> Please note that you can color the datalabels globally using "Font Styles" on the "DATALABELS" object.

Coloring of any part of the label or an individual label is not supported by FusionCharts as of now. :)

 

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