MrFast Report post Posted September 2, 2007 (edited) It is quite cumbersome to work with 2D Pies and legends in FusionCharts. At least I think it is. This makes life easier. :cool: The grid component, opposite what you might think from the examples, actually works. You can place it on top of a chart. You can make it look good. There are also all sorts of small problems working with the grid component as a label, some of which are solved here. On the attached page you will find a solution that takes care of a number of issues with labels and pie charts (the same thechnique can of course be used in any 2D dimensional graph): - places the label on top of the pie - fixes a problem with rendering label borders - not completely, but very close - fixes the bizarre problem of counter clockwise rotation in pie charts Of course, this can be improved. I can think of a few things: - calculating the legend width from the font size - parameters for placing the legend on either side of the chart I'm sure you clever guys out there can make it better! To see it in action: - Click on the link to the attached TXT-file. To download: 1. Right click and save the TXT-file 2. Change the file extension to HTML 3. Put it on your web-server 4. Change the paths to your FusionChart JavaScript library 5. Change the path to your swf files Hope you like it. /Hans fusion_pie_with_legend3.txt Edited September 4, 2007 by Guest Share this post Link to post Share on other sites
nytr0x Report post Posted January 16, 2008 That's neat, thanks. Share this post Link to post Share on other sites
hamizah Report post Posted February 12, 2008 I try to save the txt and jpg file. But i didn't get the file. Why? Share this post Link to post Share on other sites
MrFast Report post Posted February 17, 2008 You must be logged in to see the forum attachments. Please log in at the forum and all will be demystified for you ;-) Enjoy! Share this post Link to post Share on other sites
avaldez314 Report post Posted February 17, 2008 Hello, I'm evaluating FusionCharts and was looking the way to show color references like you did. Your example works great in Internet Explorer, but It don't work in Firefox (*), the pie is show but the grid is not, any idea about that? The example you have posted is the only way to show color reference labels in the charts? There is no built in support for that feature?. (*)I'm using Firefox 2.0.0.12 with an evaluation version of FusionCharts Share this post Link to post Share on other sites
Pallav Report post Posted February 17, 2008 Hi, Both the chart and grid should work in both IE/Firefox. Just check the HTML code you're using to embed the chart/grid. Share this post Link to post Share on other sites
avaldez314 Report post Posted February 17, 2008 Hello, I'm using the example page unmodified, with the directories created as used inside the html page. Here is a rar file with the original html example and the directories containing the swf y js files: it works in IE but don't in Firefox. Any clue? Share this post Link to post Share on other sites
hamizah Report post Posted February 17, 2008 Hi, What version of fusion charts are you using in the above example? Share this post Link to post Share on other sites
avaldez314 Report post Posted February 19, 2008 Hi, it's 'FusionCharts v3 Evaluation'. I tried to use 'FusionCharts Free' but it haven't the SSGrid.swf file... Share this post Link to post Share on other sites
MartinN Report post Posted March 17, 2010 I have the same problem. It works fine in IE, but not in Firefox or Chrome. I have fusion charts v3.1 Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 17, 2010 Hi Martin, Could you please send us the screen-shot of the error that you are receiving, as an attachment? Share this post Link to post Share on other sites
nabiz2010 Report post Posted May 7, 2010 The code is working in IE but not in Firefox. Any suggestion how to make it run in Firefox? Share this post Link to post Share on other sites
Rahul Kumar Report post Posted May 9, 2010 Hi, Could you please send us the code, so that we can dig the issue? Share this post Link to post Share on other sites