muxxa

Members
  • Content count

    7
  • Joined

  • Last visited

About muxxa

  • Rank
    Forum Newbie
  1. I'm getting the following error while embedding a chart: "Chart Id is same as a JavaScript variable name in window scope" I've found an explanation on this topic here: http://www.fusioncharts.com/forum/Topic30589-27-2.aspx : > 1. You have any global JS variable with the same name as the chart's id > 2. If you have the same name for the charts JSObject variable and chart's ID. > Shamasis Bhattacharya But that's not what's wrong with my code. In my case (IE8), if I examine the variable window[this.id] (FusionCharts.debug.js L1257), it points to a <div> element with that ID. So in Internet Explorer, it appears that `window['some_id']` incorrectly does document.getElementByID('some_id') I don't think this is the intention of the check being carried out in the FusionCharts code. maybe the check should be: if(window[this.id]!==undefined && window[this.id].tagName===undefined) or some such? Cheers, Eoghan P.s. This was just the first of a few problems I had when attempting to use an embedded chart with the 3.2 version. I've since downgraded the JavaScript version, while maintaining the 3.2 versions of the flash files.
  2. Legend - color boxes too small

    The small size of the legend boxes is a serious constraint. Also here: http://www.fusioncharts.com/forum/Topic12364-7-1.aspx
  3. Entity Borders

    Is it possible to have a custom colour for the border of an entity? This would imply the doubling up of the border between entities sharing a border.
  4. Cross domain limitations?

    To clarify, For the background problem, the HTML is on: http://domain1.com/chart.html The chart is loaded in javascript by: new FusionCharts("http://domain2.com/MSLine.swf", ... and in the chart XML, the background is given by: <chart bgSWF='/images/background.png' ... Which exists at: http://domain2.com/images/background.png To Quote: "Make sure that the image and the chart SWF file are in the same sub-domain." Why doesn't this work?
  5. Cross domain limitations?

    There also seems to be limitations when trying to use background images across different domains, Why can't I set an absolute url for the bgSWF background image? I don't believe there are any xss attack vectors with images :ermm:
  6. Cross domain limitations?

    I'm trying to embed a chart in html on a page on http://mydomain/mypage.html In this page, I've got both MSLine.swf and myData.xml are on myotherdomain If I move mypage.html to http://myotherdomain/mypage.html it seems to work. Is this limitation documented anywhere? Is there any way to work around it? m
  7. Date based Labels

    I'm wish to display something like the following for my x axis labels: Displaying the year between Dec and Jan would also be nice. Any ideas on how best to approach this? If it was possible to insert an absolutely positioned text block ('December') I could work out the x and y position myself. Thx