rdempsey

Members
  • Content count

    2
  • Joined

  • Last visited

About rdempsey

  • Rank
    Forum Newbie
  1. Fusionchart Limitation

    Ok well, I didn't want to have to do this.. but I resolved the issue by editing fusioncharts.js. Code is below for anyone who needs to resolve this problem in the future. a.loadScript = function (g, f, k, m, e) { if (!g)return!1; var u = f && f.success || f, j = f && f.failure, h, x = {type: "script", success: !1}, w = function () { b[h] = clearTimeout(b[h]); x.success ? u && u(g, h) : j && j(g, h); a.raiseEvent(i, x, a.core) }, e = e ? "" : a.core.options.scriptBaseUri; //* Added by RSD to resolve fusioncharts issue if (g === 'FusionCharts.HC.js') e = 'URL/to/file'; else if (g === 'FusionCharts.HC.Charts.js') e = 'URL/to/file'; else if (g === 'FusionCharts.HC.PowerCharts.js') e = 'URL/to/file'; else if (g === 'FusionCharts.HC.Widgets.js') e = 'URL/to/file'; //*/ h = e + g;
  2. Fusionchart Limitation

    Hello all, I am working with FusionCharts in an environment where I cannot specify the folder path files are saved in, and therefore cannot save all FusionChart files in the same directory. This is an issue because for our application we need to render both flash and javascript charts. When fusionCharts is attempting to render the javascript charts, it never completes, simply staying at 'loading chart. please wait'. There are a few problems here: 1. The javascript charts do not render. 2. It took me forever to figure out that I needed FusionCharts.HC.js, FusionCharts.HC.Charts.js, and the similar files for power and maps when we're using those charts, because there are no errors that populate. 3. The debugging messages don't display that a needed file was not loaded.. I have gotten around the issue, kind of, by injecting the scripts into the scope of the document, but there are random errors occurring because FusionChart usually loads the files itself.. Is there a way around this so I can resolve this issue for my environment? The only solutions for my issue (that I can think of) are the following: 1. Bypass FusionChart automatic file loading, and load the files manually using script tags. 2. Redirect where FusionCharts is looking for these files. Does anyone know if either of the above, or another solution, is possible? ***Remember, I cannot save the files in the same folder, this is impossible in my current environment. Thanks! Russell D