c_schmidt

Some labels not showing in 2D pie chart with smartlabels

Recommended Posts

I seem to have a strange issue with a pie chart that I am generating out of a PHP page. The first three labels do not show in the chart - but when I enable rotation and rotate the chart - they suddenly appear.

I am attaching two images (saved with the internal feature) - the first shows the chart as it is rendered initially - the second is the chart after rotation - mark the two additional labels "AUS", "HKG" and "CHN" now ...

I did also attache the PHP source code in case this helps to track the issue ..

Best Regards

Chris Schmidt

post-4159-128441570062_thumb.jpg

post-4159-128441570075_thumb.jpg

source.txt

Edited by Guest

Share this post


Link to post
Share on other sites

When using startingangle=-10 the first pie slices that have been missing are indeed showing - but there is still a slice (KOR) which is missing and shows up when I rotate the chart.

Please find new screenshots attached...

Chris

post-4159-128441570152_thumb.jpg

post-4159-128441570161_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

 

 

This is a part of our smart labelling feature, wherein if there are overlapping labels in a quadrant,we hide the ones with least values. When you change the starting angle, since few of those labels then fall in a different quadrant (with more space), we show them again.

Share this post


Link to post
Share on other sites

Hmm - I have not been aware that smart label means that some labels are not shown - I thought it just makes sure the labels are rendered in a way that they do not overlap.

If this was the way it has been designed - then I guess I will have to live with it - although I am not very happy with the current behaviour to be honest ...

Chris

Share this post


Link to post
Share on other sites

I'm not happy with this feature either, mostly because there is no indication, that some labels have been dropped.

 

 

 

Are there any recommendations how to inform the viewer, that sometimes he does not see all the labels?

 

 

 

Wolfgang

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Welcome to the FusionCharts Forum. :)

 

 

 

Could you please refer to the following link for this?

 

(Ref.- http://www.fusioncharts.com/docs/Contents/ChartSS/Pie2D.html#Anchor12)

 

 

 

As you'll find in the documentation link above, it is mentioned that Smart labels/lines are data connector lines which connect the pie/doughnut slices to their respective labels without over-lapping even in cases where there are lots of labels located near each other.

 

 

 

This is subjective to the extent of data provided. As Pallav has previously noted, in the case of over-lapping Labels, Smart Labels would hide the Labels with the least value. This is done on a priority basis, when a 'overlapping of labels' situation arises due to large data passed.

 

 

 

You could consider explaining this priority based approach of the 'Smart labels/lines' approach to overcome over-lapping of Labels to your users, when excess data needs to be represented. This is done so as to reach an effective solution for the look 'n' feel and the space management of that data plot of the chart.

 

 

 

I 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