Zanata Report post Posted August 31, 2008 Hello everyone, Im trying to make a DRILLDOWN WITHOUT IIS, using only Javascript and HTML And off course the FUSIONCHARTS V3. But i dont have any idea how to make it. i`ve searched id Fusioncharts documentation, but did not find any example about that. First: Is it Possible? Someone could show me a simple example about how to make it, sending Javascript, Html and XMl instruction? WITING THE ANSWEAR TO MUCH FAST! HUG's Share this post Link to post Share on other sites
Arindam Report post Posted September 1, 2008 Hi, Please follow this link http://www.fusioncharts.com/docs/Contents/DrillDown/Simple.html http://www.fusioncharts.com/docs/Contents/DrillDown/Frames.html http://www.fusioncharts.com/docs/Contents/DrillDown/PopUps.html http://www.fusioncharts.com/docs/Contents/DrillDown/ClickURL.html http://www.fusioncharts.com/docs/Contents/DrillDown/JavaScript.html Share this post Link to post Share on other sites
Zanata Report post Posted September 3, 2008 Good Night, I've tried to see in these link's but with no success! Im traying to make like this: http://www.fusioncharts.com/Demos/Blueprint/ But i can not use ASP. JUST JAVASCRIPT AND HTML. Someone could give me an example? Send a file, or something like this? I NEDD TO MUCH YOUR HELP! Share this post Link to post Share on other sites
Zanata Report post Posted September 3, 2008 THIS IS MY CODE <html> <head> <script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script> <script LANGUAGE="JavaScript"> function updateMTDChart() { window.alert("OPA"); var chartObj = getChartFromId("MTDChart"); chartObj.setDataURL("JSExample.xml"); } </script> </head> <body bgcolor="#ffffff"> <BR> <div id="Div_YTDChart" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div> <param name="allowScriptAccess" value="always" /> <script type="text/javascript"> var Chart_YTDChart = new FusionCharts("../FusionCharts/Column3D.swf?registerWithJS=1","YTDChart","900","300","0","1"); Chart_YTDChart.setDataURL("JSExample.xml"); Chart_YTDChart.render("Div_YTDChart"); </script> <BR> <div id="Div_MTDChart" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div> <script type="text/javascript"> var Chart_MTDChart = new FusionCharts("../FusionCharts/Column3D.swf?registerWithJS=1","MTDChart","900","300","0","1"); Chart_MTDChart.setDataURL("Data.xml"); Chart_MTDChart.render("Div_MTDChart"); </script> <input Type="Button" Name="Teste" align="center" onclick="JavasCript:updateMTDChart();"> </body> </html> When i click on the button the chart is not updatting... it enter in the function but does'nt change data. What can i do? Share this post Link to post Share on other sites
Zanata Report post Posted September 3, 2008 i saw in another samples of fusioncharts that everything thats based on dataXML or DataURL change is no working in my PC. Im not using the IIS, that's bacause of that? ATt Share this post Link to post Share on other sites
Rahul Kumar Report post Posted September 4, 2008 Hi, Could you please make sure that your Flash Player's security setting is set correctly in Global Security Setting panel. Please follow this post http://www.fusioncharts.com/forum/Topic5009-47-1.aspx for detailed information. Share this post Link to post Share on other sites
Zanata Report post Posted September 4, 2008 But my code should work? Share this post Link to post Share on other sites
Zanata Report post Posted September 4, 2008 THANK YOU A LOT!!!THA PROBLEM WAS MY PERMISSION!!! :D:D:D:D Share this post Link to post Share on other sites
Joker Report post Posted September 4, 2008 (edited) Can you tell us exactly what kind of data you are working with? All of my drill down charts go and retrieve data from a database based on the user's choice. Obviously, we would need a little more than Javascript and HTML for that. However, if your data is already in XML format then you are good to go. For example, if you have a saved XML file for each month of the year that stores specific financial data for that year and you have no need for that to be continuously accurate, then you are good to go. Is that the case? If so, then here is an example of what you are after. Let me know if this helps or not. drilldown.txt Edited September 4, 2008 by Guest Share this post Link to post Share on other sites
Rahul Kumar Report post Posted September 4, 2008 (edited) Hi Zanata, I am afraid that your code will not work, until you do not change your global settings. Because by default Flash ignores any JavaScript call if it is made through Local. And we have tested your code it is working fine. Edited September 4, 2008 by Guest Share this post Link to post Share on other sites
Zanata Report post Posted September 10, 2008 Hey everyone im trying to use that in IE 7 but its not working. Whatever in IE it does.... WHAT IS HAPPENING? Share this post Link to post Share on other sites
Pallav Report post Posted September 12, 2008 Hi, Can you please detail the exact nature of your problem? Share this post Link to post Share on other sites