squberam

How to display value in pie chart

Recommended Posts

Hi,

I have used pie chart in one of my projects. All the values displayed with text. But if all the values are zero, labels are overlapping and few values are not displayed in the chart area. But if i increase the chart size, visible in the screen. How we can show all the values with minimum width & height. (example W 320 px, H 400 Px).

 

Thanks in advance.

 

 

Share this post


Link to post
Share on other sites

Hi,

I have used pie chart in one of my projects. All the values displayed with text. But if all the values are zero, labels are overlapping and few values are not displayed in the chart area. But if i increase the chart size, visible in the screen. How we can show all the values with minimum width & height. (example W 320 px, H 400 Px).

 

Thanks in advance.

Could you please try enabling smart labels by setting the attribute "enableSmartLabels" to '1' in the <chart> element of the XML to avoid overlapping of the labels?

 

For further details, please refer to the following link.

Ref.- http://docs.fusioncharts.com/charts/contents/?ChartSS/Pie2D.html#Anchor12

 

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