qthai Report post Posted May 26, 2010 I have my pie chart inside an item, the size of the pie chart adjust correctly but I loose some parts of some long labels. Do you have an idea of what I can do ? Thanks, Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 26, 2010 Hi, Please try setting the attribute "enableSmartLabels" to '1' in the <chart> element. Also, could you please try setting a value in the "labelDistance" attribute in the <chart> element. In case it still does not work fo you, please send us the XML codes that you are using as an attachment. Hope this helps. Share this post Link to post Share on other sites
qthai Report post Posted May 28, 2010 Thank you for your response. Share this post Link to post Share on other sites
Sanjukta Report post Posted May 28, 2010 Hi, You are most welcome. Happy FusionCharting! Share this post Link to post Share on other sites
qthai Report post Posted June 7, 2010 (edited) Could you take a look and tell me what's wrong ? The code the chartObj is in chartObj.txt and the dataXml (used in chartObj.setDataXML()) is in attachment. Thanks alot, PieChart.xml chartObj.txt Edited June 7, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 7, 2010 Hi, Could you please specify the issue a bit elaborately? Awaiting your reply. Share this post Link to post Share on other sites
qthai Report post Posted June 7, 2010 Here is the result. The long labels cannot be displayed correctly. Share this post Link to post Share on other sites
qthai Report post Posted June 7, 2010 I try to break the labels into two lines, names and values. The problem now is even with enableSmartLabels='1' and labelDistance='10', I have overlapped labels. Could you tell me if there is something I missed ? Thank you very much. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 8, 2010 Hi, As you have specified a very small value difference among the datavalues of the Pie Chart, it will get overlapped in case you use line-break( ) notation. For this please try setting the value for the "labelDistance" attribute to '0', "pieRadius" attribute to '30'(you can chage it as per your requirement) and the "smartLabelClearance" attribute to '-10' in the <chart> element. For further details please refer to the link below:- Ref.- http://www.fusioncharts.com/docs?/ChartSS/Pie2D.html Also, please refer to the screen-shot that we are sending you as an attachment. Hope this helps. piechart_label.zip Share this post Link to post Share on other sites
qthai Report post Posted June 8, 2010 It works in this case with this particular data but for other data I'll have to find other parameters. In the next version of Fusion Chart do you have any plan of improving the Smart Labels ? If not could you please at least try to resolve the problem of overlapping multi-lines labels ? Thank you very much, Have a nice day Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 8, 2010 Hi, We are glad that your current issue is resolved. In the next version of Fusion Chart do you have any plan of improving the Smart Labels ? Your suggestions are always important to us. We will definitely add this to our wish-list. However, as of now we do not have the plan for the same in our next release. Share this post Link to post Share on other sites