mysticBoer
Members-
Content count
9 -
Joined
-
Last visited
-
Days Won
1
About mysticBoer
-
Rank
Forum Newbie
-
Is there an event that fires in JavaScript when the user moves something on a DragNode chart? I want to be able to execute a JavaScript function to change the layout of a page (like colours and so on) when the user changes something on the chart. Like the location of a node for instance.
-
Zoom In/Out function not working right
mysticBoer replied to mysticBoer's topic in Javascript Problems
Yes, I know it's not a FusionCharts thing. What is weird though is that when I use another flash movie (non-fusioncharts) it works fine. -
Zoom In/Out function not working right
mysticBoer replied to mysticBoer's topic in Javascript Problems
Anyone? -
Ok, since a chart is basically a flash movie, I'm trying to implement the flash zoom functionality using the following JavaScript: function ZoominFlashMovie() { var flashMovie=getFlashMovieObject("ChartId"); flashMovie.Zoom(90); } function ZoomoutFlashMovie() { var flashMovie=getFlashMovieObject("ChartId"); flashMovie.Zoom(110); } function getFlashMovieObject(movieName) { if (window.document[movieName]) { return window.document[movieName]; } if (navigator.appName.indexOf("Microsoft Internet")==-1) { if (document.embeds && document.embeds[movieName]) return document.embeds[movieName]; } else // if (navigator.appName.indexOf("Microsoft Internet")!=-1) { return document.getElementById(movieName); } The 'Zoom In' functionality works fine, and I get the desired result. When I use the 'Zoom Out' functionality however, it does not zoom out the full extent. It stops at the second zoom level - as shown in the attachments. Attachments: Step 1 - The way the chart is initially loaded Step 2 - After zooming in once or twice Step 3 - After repeatedly clicking the zoom out button This also happens if I apply the functionality on the FusionCharts samples... Any ideas?
-
Ok, here is the xml returned by getXMLData(). Can anybody spot anything wrong in this XML that might be causing it to NOT render in IE?
-
Bezier Curves/Lines as an option in Drag Node chart
mysticBoer posted a topic in Suggestions & Requests
Since it is something that we would definately use even if it was available right now, I believe the ability to make a either a straight- or a bezier-line would add great functionaly in creating charts, like Network Drawings -
Re-installed in both IE and FireFox, same problem. I'm also getting this on all the other machines in the office with IE. Unfortunately I cannot test on a IE6 machine here because there isn't one available
-
Also, when adding the following to check whether the chart rendered, it actually alerts 'TRUE' function FC_Rendered(DOMId){ if (DOMId=="ChartId"){ //Simply alert window.alert("TRUE"); return; } }
-
Good day, We use a DragNode chart to build a network drawing. Everything seemed to be ok until yesterday. For some reason, the chart won`t render in Internet Explorer (only tested in IE7). In FireFox 2.0.0.14 everything is fine. The code used to instantiate the chart: var chart = new FusionCharts("../resources/controls/fusion/PowerCharts_Enterprise/Charts/DragNode.swf", "ChartId", chartW, chartH, "0", "1"); chart.setDataURL("UIHandlers.NetworkDrawing.cls?type=clients"); chart.render("chartdiv"); Note that it's not a static XML file that is used but rather a call to a server side application which generates the XML. This leads me to believe that it might be that the chart is not waiting for the XML in order to render it, in other words, it's doing things asynchronously instead of synchronously? When I do the following: //Get a reference to thechart var ourChart = getChartFromId("ChartId"); //Get the data from chart var xmlRtn = ourChart.getXMLData(); //alert xml alert(xml); I get the chart xml alerted to me with all the data, even in IE, but the chart does not render in IE, although it renders fine in Mozilla/Firefox. Any help appreciated, as this is driving me up the walls!