dwp

Members
  • Content count

    9
  • Joined

  • Last visited

About dwp

  • Rank
    Forum Newbie
  1. Chartobj = Getchartfromid

    Thanks to everyone who helped send me in the right direction. I have solved the problems with your help. It turns out that part of my problem was my query to the database was incorrect for one of the charts. This probloem is solved.
  2. Chartobj = Getchartfromid

    Now I have taken care of all of the error messages and all I have now is text where the chart is supposed to go "No data to display." Anyone know why there is no data? When I render the chart on another page by itself it shows the proper information without errors. Any help would be apreciated. atest.php yr_vol.php works_chart_mo_vol.php
  3. Chartobj = Getchartfromid

    OK, I have now been able to get chart 1, 2 & 4 of the four charts to show up on the page, however, I still am confused as to why the chart 3 won't show up. This chart is supposed to be rendered on startup and when a pillar in chart one is clicked on for the year, chart 3 is supposed to change. When I open the page the third chart is missing which says that there is no data to display, and when I try to envoke the third chart by clicking on a pillar in the first chart, I get the following error: Error: Object doesn't support property or method 'setDataURL' As mentioned in an earlier post, setDataUrl, setXMLUrl, setDataXML and setXMLData all return the same error message. The $recordyear value is correct when you view the page source, but the chart still doesn't render. Any ideas?
  4. Chartobj = Getchartfromid

    Rishi, Thank you, I appreciate your input! Unfortunately, nothing worked. 1. You can see by viewing the source code that $recordyear has the proper value: var myChartb = new FusionCharts("Charts/MSColumn3D.swf", "works_chart_mo_vol", "400", "250", "0", "1"); myChartb.setXMLData(escape("works_chart_mo_vol.php?record_year=2012")); myChartb.render("works_chart_mo_volDiv"); 2. I have removed FusionCharts.php from the script. 3. setDataUrl, setXMLUrl, setDataXML and setXMLData all return the same error message:Object doesn't support property or method 'setXMLData' 4. chartcpo.php code is identical to servers.php and neither has HTML code. servers.php renders fine without errors. I can't get it to return html tags. Maybe you can tell me how you got this result??? 5. As stated in #1, $recordyear; returns the proper value. Any more suggestions? Doug
  5. Chartobj = Getchartfromid

    When I go to atest.php and opt to use the Internet Explorer script-debugger, I get the following error message: Error: Object doesn't support property or method 'setDataUrl' Is my code incorrect? Please help. I still have the same problems trying to get mu charts to show up on my page. Anyone can see the scripts and link above.
  6. Chartobj = Getchartfromid

    Sashibhusan, Thank you for taking a look at this for me! I am going crazy trying to find out why only two charts show up and the links from the first chart don't work. The code for "servers.php" and "chartcpo.php" is identical, yet only 'servers.php' shows up on the page. I have simplified the code on each script and gotten rid of the "chart_monthly_count" file , but still have no clue why it isn't working after making the changes you suggested. I will include the files used for charts here. Please see attachments. If this doesn't work, please go to http://www.applealleycafe.com/books/atest.php to see the results. Thanks, Doug atest.php chartcpo.php servers.php works_chart_mo_vol.php yr_vol.php
  7. Chartobj = Getchartfromid

    I have moved the charts online. I have been able to get the first and second chart to work. I have removed the code for the nonexistant chart. I cannot get the third chart to open. As the code and page names have changed, please see the new code attached. The first and third charts are linked. The first chart shows yearly totals and I am trying to be able to click on one of the columns to view a chart with the monthly totals for that year. The third chart on the atest.php page is the monthly chart. I can't seem to get the third chart to show up at all. Can you please taken a look at it and see if something is missing? Thanks, Doug atest.php servers.php works_chart_mo_vol.php yr_vol.php
  8. Chartobj = Getchartfromid

    Thanks for the response. I have tried your suggestion and other possible responses, but still no results. The graph still doesn't appear. The include <?php $chartInit=true; include("yr_vol.php"); ?> chart shows up just fine, but the chart to drill down to doesn't seem to show up no matter what I do to the code. It's like it isn't even there. No error messages, no chart. Maybe it is because I am using a WAMP server setup on my computer? I have already included my charts in "trusted files" in the global settings for the Flash Player. However I have eliminated the browser issue as I get the exactn same results on all browsers. I will include my code for the yr_vol.php file to see if you can find issues with the chart code. I will also attach the other relevant files since they might have changed since my first posting. Thanks for your help! yr_vol.php chart_mo_vol.php volume_dashboard.php
  9. Can't import chart using chartObj = getChartFromId. I will attach chart to import and then I will attach receiving page. Any help would be appreciated, Thanks! chart_mo_vol.php volume_dashboard.php