Phliplip

Members
  • Content count

    4
  • Joined

  • Last visited

Everything posted by Phliplip

  1. Hi, I'm trying to add a more nicer more descriptive DIV-layer to the flash chart. I found out how to trigger my javascript that opens the info-box. But i need the x y coordinates of the clicked anchor to position the DIV. tried; showBox(event); showBox(_x, _y); I'm using ScrollLine2D.swf Do somebody perhaps have another way of doing this, then your input is more than welcome :w00t: Best regards, Philip Espersen Onindo.com
  2. Hi FC, I have a strange problem occurring in Internet Explorer 6/7, works in FireFox. I get 2 identical errors on line 1 character 86, as with all debugging in IE this is pretty useless, so in Microsoft Script Debugger i can see that the following line fails. try { fcChart.SetReturnValue(__flash__toXML(FC_Loaded("fcChart")) ); } catch (e) { fcChart.SetReturnValue(""); } If change fcChart in code below to fcChart2 the fcChart in the code above also changes. fcChartId = 'fcChart'; activeFlashId = fcChartId; fcChart = new FusionCharts("http://www.onindo.com/include/flash/charts_v3/ScrollLine2D.swf?ChartNoDataText=Loading chart data, please wait!", fcChartId, "700", "300", "0", "1"); fcChart.setDataXML(""); fcChart.render("fcChartDiv"); Event.observe(window, 'load', function() { init_range_slider('rangeSliderDiv'); Event.observe(fcChartId, 'mousedown', registerFlashChartClick); }); updateSearch(fcChartId, '<?php echo $generatorUrl; ?>'); // Gets XML from a generator through AJAX and sends to flash using SetDataXML I'm also using FusionMaps. And prototype.js/scrip.aculo.us, but tried to remove them without any change.
  3. Problem with Internet Explorer

    I found the error; fcChartId = 'fcChart'; activeFlashId = fcChartId; fcChart = new FusionCharts("http://www.onindo.com/include/flash/charts_v3/ScrollLine2D.swf?ChartNoDataText=Loading chart data, please wait!", fcChartId, "700", "300", "0", "1"); fcChart.setDataXML(""); Highlighted entries may not be the same, or you can say that fcChartId may not have a value that equals the name of a javascript variable.
  4. Problem with Internet Explorer

    Hi, I've found out that if the registerWithJS bit is set to 1 the errors occour, if i disable it (=0) they don't.. but then our websites JS integration with the Chart, for obvious reasons don't work, neither in FF or IE :hehe: