Closed (fixed)
Project:
Open Flash Chart API
Version:
5.x-2.6
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2008 at 00:18 UTC
Updated:
23 Jun 2008 at 05:02 UTC
Hi I'm trying to display two charts on one page, the first chart works fine, but the second just displays this
C:\Users\John\Documents\flash\svn\data-files\data-47.txt
Am I right in thinking only one chart can be displayed at once?
Many Thanks
Matt
Comments
Comment #1
Enkidu commentedI'm not certain that the issue is the display of two charts. I am having this issue exclusively in IE7 and then only when I attempt to render a line-dot style chart. In my scheme, I have pie charts for lower resolution data. Wedges can be selected for higher resolution metrics for a given category, eventually leading to a trend rendered in the line-dot format. When IE7 is passed the appropriate link and associated data, it spits out a flash object box containing the same path. I've done some digging, and that path seems to be set as the default data root in open-flash-chart.as in the actionscript subfolder. Changing that document root to my own data page did not meet with any success. Once again, this problem only seems to occur in IE7 for me, but I have not tested it with other versions of IE. Firefox, Safari, and Opera all seem to render the chart correctly.
Comment #2
Enkidu commentedI've managed to resolve this issue for my own purposes. I've discovered that I was attempting to pass width and height dimensions to open_flash_chart_object() as percentages, i.e. open_flash_chart_object('50%', '75%', 'foo.php'); I hadn't even noticed until I was about ready to pull my hair out, but when I changed the dimensions to regular integers, everything seemed to render correctly. Since I was only passsing the percentage in the line-dot render, it coincides with my mixed results. As a possible work around, it seems that, despite specifying pixel height and width, the flash object is still rendered relative to its container, though I don't know why. I have been able to resize it by putting it in a <div> and passing my size limitations to that in whichever format suited me. I hope this helps.
**Edit: Unparsing html
Comment #3
mattybBrilliant, thanks, I'll try that out.
Comment #4
redndahead commentedMarking as fixed.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.