Sprach

Members
  • Content count

    5
  • Joined

  • Last visited

About Sprach

  • Rank
    Forum Newbie
  1. Yes, Thanks I already had figured out that I had a type in the element id, but I still would like to know what the default attribute settings are.
  2. Data Stamp

    I am having trouble getting the data stamp feature to work. It would help me out a lot, because I need to do queries to my database to find out what the last data sent was and it is hurting performance. I tried following all of the directions in the documentation, but never see the data stamp go out on the wire. In debug mode, the URL link does not include the data stamp, but does include the additional arguments that I need to provide to the server. I am attempting to set up the datastamp as follows: <chart ... dataStreamURL = 'UVServer/getLivePowerHistory.php?pmd=xxxx' datastamp={time - current time on server} refreshInterval = 5
  3. It is very difficult to debug problems either than through trial and error. It would be very helpful if the documentation told me what the minimum number of attributes I need to set for a specific chart type and what the default settings are. Many of the attributes seem to be ignored by certain chart types, and it is hard to figure out what is going on. Currently I debugging a problem with the real time column charts, and get a java script error of: n is null anonymous("kwhChart2")FusionCharts.js (line 250) anonymous()dashboard.php (line 66) anonymous()jquery-1....2.min.js (line 19) anonymous()jquery-1....2.min.js (line 12) anonymous()jquery-1....2.min.js (line 19) anonymous()jquery-1....2.min.js (line 19) n.innerHTML = this.getSWFHTML();r I am guessing that it is caused by a bad attribute, but I have no idea where to look. Any additional documentation or suggestions greatly appreciated. -ben
  4. loading jquery causes IE8 to break

    Madhumita, Thanks for the quick response. I spent some time collecting files together and taking screen shots to document the behavior. All of a sudden, after cutting and pasting the <script> tags, the problem went away. I can't really explain what happend, except that perhaps a non-printing characters was inserted in one of the strings. I am using the Netbeans IDE, and it seems to have a few quirks. For now I am back in business, it does not appear to be a problem with fusion charts.
  5. I am new to both javascript and fusion widgets. I have some simple guages and real time charts working and want to add some new features. I decided to try the jquery library, but found that when I simply load the library, e.g. <script type="text/javascript" src="lib/jquery-1.3.2.min.js"</script> , it breaks even my simple test application in IE8. It works fine in FireFox, and IE8 will work fine without loading the jquery library. The behaviour I get in IE8 is the following: When loaded in this order: <script type= ... src="lib/jquery-1.3.2.min.js" <script type = ... src="charts/FusionCharts.js" The result displayed in IE8 is: "The chart will appear within this DIV. This text will be replaced by the chart." and IE8s console error message is: Webpage error details: User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; yie8)Timestamp: Thu, 12 Nov 2009 12:43:24 UTC Message: 'FusionCharts' is undefined Line: 12 Char: 10 Code: 0 If I swap the order of the two javascript loads, then I get no error message in IE8 and a blank screen. Again Firefox works fine when the libraries are loaded in either order. I haven't even begun to try and use the jquery library, was just loading it to make sure that it worked, before I dug into it more. -ben