vitorbari Report post Posted January 11, 2012 hi guys, I'm using a pie chart, and i would like to display the percent value before the label in the legend. Is that possible? Thanks for any help. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted January 12, 2012 (edited) Hi, Welcome to the FusionCharts Forum. Thank you for the post. The label that you define in the <set.../> tag, will be used in the Legend. Hence, if you want to display percentage values in the Legend, then you have to explicitly define the label with percentage value. Please note: If you use the above method to include percentage value in the legend, please make sure to define 'toolText' and 'displayValue' attribute correspondingly, otherwise, it will lead to redundancy. Please find attached screenshot of the chart rendered with the above settings. Also, please find the XML sample attached for your reference. Hope this helps ! Happy FusionCharting Pie.xml Edited January 12, 2012 by Bindhu Share this post Link to post Share on other sites
vestaviascott Report post Posted April 21, 2017 The XML file is blank. I have same question. Need to know how to show data values in legend. Thanks! Share this post Link to post Share on other sites
balaji siva Report post Posted April 25, 2017 Hi, I am also looking the same property . Is it possible ? Share this post Link to post Share on other sites
Prerana Report post Posted April 26, 2017 Hello, Thanks for the query. The label which we set with a value, that same label is used by the legend. So if you want to modify the legend, you need to reach there by setting the label in the desired format. e.g "label" : "Teenage, 29.4%" Note : We need to modify the tooltext and the display value to avoid redundancy. Please find the sample fiddle below, for the implementation. http://jsfiddle.net/Prerana/9cPeU/1042/ Share this post Link to post Share on other sites