Sign in to follow this  
Tanuja

PieChart not displaying data labels in values and percent values both

Recommended Posts

Hi,

I am trying to display data labels in values and percent values both. But the chart only displays either one of them.

I have set the showValues='1' and showPercentValues='1'  property. Is this functionality available in fusioncharts like in excel?

Thanks,

Tanuja

Share this post


Link to post
Share on other sites
Guest Rajroop

Hi Tanuja,

Welcome to the FusionCharts Forum. :)

Could you please send us your XML so that we may have a look-see?

Looking forward to your reply. :)

Share this post


Link to post
Share on other sites

Hi,

Below is the XML that I am using:

<chart caption='Pie Chart 1' pieradius='70' showZeroPies='1' enableSmartLabels='1' isSmartLineSlanted='1' labelSepChar='t' skipOverlapLabels='0' showLabels='1' showPercentValues='1'  showValues='1'>

<set label='Test1' value='30' />

<set label='Test2' value='40' />

<set label='Test3' value='10' />

</chart>

Thanks,

Tanuja

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Tanuja,

Attached is a sample XML. Could you please check and comment on whether this suits your requirements?

We have used to the displayValue attribute to achieve this effect.

I hope this helps. :)

data.xml

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