TPham Report post Posted December 6, 2012 I ran into an issue when trying to display a pie 3D chart using javascript renderer. This only happens if the data for the chart has only one element. The chart would animate as it drew the pie with only one slice. Once the animation completed, the pie disappeared completely, leaving only a number value displayed in the center. Is it a bug? Has anyone seen this problem before and is there a way to get around it? By the way, it works correctly if I'm using flash renderer. Appreciate any help. Thanks. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted December 7, 2012 Hi, A warm welcome to FusionCharts Forum! Can you please provide some information on following points? > What FusionCharts version are you using? > Can you please send us the sample code along with the chart XML? Share this post Link to post Share on other sites
TPham Report post Posted December 7, 2012 Thank you for your warm welcome and quick response. I'm using FusionCharts XT, version 3.2.3-sr1.5347. Sample code as follow (note that the call FusionCharts.setCurrentRenderer('javascript') has already been made prior to this execution): <div id="test_pie3d_chart"></div> <script type="text/javascript" charset="utf-8"> $(function() { var data = { "chart": { "caption": "Case Outcomes", "showlabels": "0", "showvalues": "1", "showlegend": "1", "legendposition": "BOTTOM", "chartrightmargin": "20", "bgcolor": "FFFFFF", "bgalpha": "70", "bordercolor": "FFFFFF", "basefontcolor": "2F2F2F", "basefontsize": "11", "showpercentvalues": "0", "bgratio": "0", "startingangle": "200", "animation": "1" }, "data": [ {"value": 5, "label":"Settled"} ] }; $("#test_pie3d_chart").insertFusionCharts({ swfUrl : "FusionCharts/Pie3D.swf", width : 300, height : 300, id : "mychart", dataFormat : "json", dataSource : data }); }) </script> Thanks for your help. Share this post Link to post Share on other sites
Swarnam Report post Posted December 12, 2012 Hey, With regard to your issue, pie with one slice disappear after rendering has been resolved in the latest version of FusionCharts. To download the latest Evaluation version at : http://www.fusioncharts.com/download/trials/ Hope this helps. Share this post Link to post Share on other sites
TPham Report post Posted December 12, 2012 Thank you very much. Share this post Link to post Share on other sites