dvdutra Report post Posted November 28, 2013 Hi, I´m using the same code to render a Pie Chart using Flash and using Javascript (the only difference is "FusionCharts.setCurrentRenderer('javascript');}" to force Javascript), but I´m getting different results. The Flash Chart shows exactly what I want, but the Javascript Chart doesn't show percentage in labels, as shown in images. The showPercentageInLabel='1' doesn't work in Javascript? Tks! code: <script type="text/javascript"> var myChart = new FusionCharts( "../../FusionCharts/Pie2D.swf", "myChartId1", "240", "240", "0", "1" ); myChart.setXMLUrl("../data/data.xml"); myChart.render("top5_pizza"); </script> data.xml: <chart animation='0' caption='Entradas' subcaption='Referenciado: 172' pieRadius='55' showPercentInToolTip='0' decimals='0' forceDecimals='0' decimalSeparator=',' thousandSeparator='.' slicingDistance='8' showPercentageInLabel='1' formatNumberScale='0' showValues='1' showLabels='0' bgColor='FFFFFF' showBorder='0' startingAngle='90' showLegend='1' legendShadow = '0' legendBorderColor = 'ffffff' smartLineColor = 'ffffff'> <set label='Outros' value='72' color='E3E3E3' /> <set label='Referenciado' value='100' color='043C6B' isSliced = '1' /> </chart> Share this post Link to post Share on other sites
Guest Sumedh Report post Posted November 29, 2013 Hello, Remove "showPercentageInLabel='1' " and try using "showPercentValues='1'" attribute. Ref. Code: <chart ...showPercentValues='1'> For more information, please refer the following link: http://docs.fusioncharts.com/charts/contents/ChartSS/Pie2D.html Share this post Link to post Share on other sites
dvdutra Report post Posted November 29, 2013 Hi! It solved the problem! Thank you! Share this post Link to post Share on other sites