MrFast

Members
  • Content count

    20
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MrFast

  1. 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
  2. Please, add legend in pie charts. Thanks. /Hans
  3. After this no charts are displayed JavaScript error when loading FustionCharts.js. Error on line: PlayerVersion=new infosoftglobal.PlayerVersion(axo.GetVariable("$version").split(" ")[1][.split(",")) Please fix urgenly! /Hans
  4. Hi again, It turned out it was not a FusionObjects error. The same error was thrown on Adobes home page, which was kind of fun :hehe: The solution, similar to what you suggested was to reinstall Flash Player (and get a later version). For your information, your suggestion how to install does not work in Vista, Flash Player 10. You get a permission error although having Administrator rights, no apps running. To reinstall Flash Player do this: REINSTALL FLASH PLAYERhttp://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=1 1. Download the Adobe Flash Player uninstaller: http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe 2. Save the file to your system, choosing a location where you can find it (for example, your desktop). 3. Quit ALL running applications, including all Internet Explorer or other browser windows, AOL Instant Messenger, Yahoo Messenger, MSN Messenger, or other Messengers. Check the Windows system tray carefully to make certain no applications are still in memory which might possibly use Flash Player. 4. Run the uninstaller. This will remove Adobe Flash Player from all browsers on the system. 5. Start Internet Explorer 6. Go to http://get.adobe.com/flashplayer/ 7. Follow the instructions to install Flash Player again Cheers, /Hans
  5. Hi again, Thank you for your quick reply. I tried with the file you sent. Same error, sorry. Please see the attachments... It works fine in IE8 + Flash 9.0.47.0 but not IE8 + Flash 10.0.12.26 Please fix as soon as you get a chance, since we have no control over when people install Flash. Thanx!
  6. Hi everyone. First, thank you FusionCharts for a great product! A breeze to work with, great charts, smoth animation, very nice indeed! I read thrugh the documentation and was suprised how many things you got right. Especially exiting was the JavaScript sections, which exposes methods to make charts "on the fly", interactively. Web 2.0 style (ok, not really, you have to init some chart areas and chart objects first, but good enough!). Then my hopes was a little dented. I have one major complaint. Your international character support really must be improved. Today only dataURL (not dataXML), no slanted text, etc. For me (and anyone working in Europe) this makes it very difficult to use the charts in an interactive (read JavaScript) manner. I read in the documentation that the slanted text problem comes from the embedded font, which only supports english characters. But there are many very similar fonts out there (free too), that supports many more characters. The standard ascii values for 256 characters in URL-encoding form will work in 100% of our cases. Here is a table http://www.backbone.se/urlencoding.htm. Any chances you will include better support for international characters any time soon? I.e. a similar embedded font to the one you are using, but with more charactes? Without slanted text, I have a huge problem. Apart from this, I am a happy guy. /Hans
  7. You must be logged in to see the forum attachments. Please log in at the forum and all will be demystified for you ;-) Enjoy!
  8. Hello! I am very excited about the JavaScript/AJAX-like capabilities of your chart products. But, I have a problem in our requirements, and a JavaScript error in the client side updates of the charts. I have placed the swf-files in a different sub-domain/domain then the web-pages which renders the charts. Acording to the licensing, this should be possible, right? When I do, here is what I get: - First time around (when the page loads), all charts are rendered perfecly. - After first page load, calling the setDataXML throws a JavaScript error. (see attachment) To make it easy for you to reproduce just add a domain in your demo at http://www.fusioncharts.com/Demos/JS/Index.html : //any sub-domain or domain added here gives the error next time the user calls setDataXML; var gc_swf_path = "http://charts.backbone.se/swf/"; var chart1 = new FusionCharts(gc_swf_path + "MSColumn3D.swf", "chart1Id", "600", "400", "0", "1"); //Initialize chart with empty data. We'll feed it data on the chart's FC_Rendered event. chart1.setDataXML("<chart></chart>"); chart1.render("chart1div"); Is there a workaround or fix? I can fix the JavaScript, if you point me in the right direction. Some background notes which might be of interest: We have multiple sites running our crm-application. I would rather not have to distribute the JavaScript and the swf files to all sites, some of them behind firewalls. I would like to give our clients nice charts, no matter what server they are running our application from. At the same time I want control of how the chart components are used, from what domains, etc. I want our clients to use our interface to your components (as a backend). I don't want to give them full access to your components, just because I need to include them under their website. I am sure that is in your interest too. Kind regards, /Hans
  9. Hi all! This is confusing for our users, especially with several charts in the same screen, depicting different aspects of the same data. Column charts go left to right, but not pie charts. I believe the industry standard is clockwise. Maybe I am missing something. Can I change charts direction? I saw pie charts supported startingAngle - good! Please add startingDirection. (Maybe this should be in the Feature Request section?) Kind regards! /Hans
  10. I tried it and it works. However it is quite cumbersome, for several reasons. You have to reverse the order of the categories and the values when buildning the XML for the charts. Then you have to return the values again in the correct order when buildning the XML for the legend (grid component). But, instead of whining, I decided to post my findings in the User Showcase area. So there you are, 2D Pie chart with legend - Demystified. Enjoy. (There seems to be a problem opening the attached .TXT document in the User Showcase area. I'm sure Pallav has a fix for that soon...) /Hans
  11. Slicing movement (or oroginally rendered with slicing) sometimes hides the labels. Occurs on slices close to the top or bottom borders. Regards, /Hans
  12. Pie chart problem. Slicing hides label.

    I have tested a lot more now. The workaround above actually solves the slice-hiding-labels problem, 99% of the times. /Hans
  13. Pie chart problem. Slicing hides label.

    Both. But, I found a workaround that works 50%: - Set the size of the pie manually. This gives more control over where the labels fall. But it would be nice with a fix. Thanks. /Hans
  14. OK. I'll try that. Thanks. /Hans
  15. OK, I'm looking forward to that. Good luck! /Hans
  16. Hi. First, the animation of 2D pie charts is really beautiful. Especially with the slicing movement. But today, when making a chart clickable, the slicing movement in disabled. This means if a pie is drawn with one or several sectors sliced, when the user clicks another sector, the chart still highlights the sector(s) which were drawn originally. It would be great to have an option of clicking a sector and have that sector sliced and the previous sliced sectors "unsliced" (just like the "Enable Slicing Movement" in the context menu). This would be beautiful, and something I have not yet seen in a charting solution. Thanks! /Hans
  17. FusionChart Javascript Library

    Hi jmanico and Pallav, Just replace all double quotes with backslash-double quote. I believe this would work from JavaScript and not break the string for the dataXML function: <chart caption="Monthly Chocolate Usage" bgColor="c7c7c7" xAxisName="Month" yAxisName="Chocolate Usage" numberSuffix=" KWh" showValues="0" useRoundEdges="1"> Regards, /Hans
  18. Great! Which version will have this feature? /Hans
  19. I agree. Better control (new lines, esp) of the labels would be a great improvement. Today, the labels seems to force the pie chart to get resized automatically, This doesn't look nice, ie. when a long label hits the outer border of the chart, the pie area is drawn smaller. Making the image "jump" whith each refresh. Having new lines in labels would cut this behaviour down to a minimum. Thanks! /Hans
  20. Javascript Print via ExternalInterface

    Great suggestion!. I really miss the ability to print by scripting. /Hans