﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts Free / XML Issue  / Lack of a DOM / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Tue, 02 Dec 2008 07:58:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>The data points (anchors) in radar chart are clickable.</description><pubDate>Tue, 25 Sep 2007 02:58:29 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>I got it working. Just ran xmlhttprequest against the returned string. Next question, the radar chart doesn't appear to have any elements clickable. If I wanted to make a corner of the radar chart clickable to further data, is that possible? Does FusionCharts already provide something like this. Similar to the way the scatterplot chart works in that you can select points. I just want to be able to click on a corner and populate the appropriate data. Thank you in advance.</description><pubDate>Thu, 20 Sep 2007 17:15:42 GMT</pubDate><dc:creator>JoE</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>FusionCharts is designed only to return the data and ID. If you've more attributes, you'll need to change the code of FusionCharts (present in Enterprise license) to return them.</description><pubDate>Sun, 16 Sep 2007 05:20:10 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>So if I were to include more information within my XML document, how would I go about retrieving that information?</description><pubDate>Wed, 12 Sep 2007 10:05:52 GMT</pubDate><dc:creator>JoE</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>So if I had more attributes added onto my XML, how would I go about accessing those? Hoping the system isn't restricted in that it solely returns the ID attribute in string format.</description><pubDate>Mon, 10 Sep 2007 12:14:41 GMT</pubDate><dc:creator>JoE</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>I'm afraid we do not expose the contents of tooltip in the JavaScript API. We just expose the label and data.</description><pubDate>Mon, 10 Sep 2007 11:55:23 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>So the SWF file is reading the XML document and outputting the information in the chart.&lt;br&gt;&lt;br&gt;This is my current test environment...&lt;br&gt;http://www.whoisjoemartin.com/fieldglass/testArea/&lt;br&gt;&lt;br&gt;When you highlight and select a series of points, it returns the IDs. I want to return more information from the XML document, such as the toolTip attribute that is viewed when you hover over any point on the graph. How would I go about retrieving THAT information through the Flash from the XML?</description><pubDate>Mon, 10 Sep 2007 11:14:02 GMT</pubDate><dc:creator>JoE</dc:creator></item><item><title>RE: Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I'm not sure if I've understood your problem. Can you please elaborate?</description><pubDate>Wed, 29 Aug 2007 13:26:37 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Lack of a DOM</title><link>http://www.fusioncharts.com/forum/Topic2122-41-1.aspx</link><description>The Problem:&lt;br&gt;Trying to read the "toolText" value.&lt;br&gt;&lt;br&gt;The XML (configured correctly, forum won't let me post it):&lt;br&gt;dataSet id="CumulativeSpend" seriesName="Cumulative Spend"&lt;br&gt;	set id="setID130" x="130" y="10152.00" toolText="A, Biliji   Days:130   Spend:10152.00"&lt;br&gt;	set id="setID191" x="191" y="7472.27" toolText="Amazioin, Joseph   Days:191   Spend:7472.27"&lt;br&gt;	set id="setID73" x="73" y="3360.00" toolText="Amlorty, Srich   Days:73   Spend:3360.00"&lt;br&gt;/dataset&lt;br&gt;&lt;br&gt;The Javascript (it's yours already, you may recognize it):&lt;br&gt;[code]		//Now generate a tabular format of data returned as array&lt;br&gt;		var arrData = ourChart.getData();&lt;br&gt;		//If no data has been selected return an error&lt;br&gt;		if (arrData.length==0){&lt;br&gt;			alert("Please select atleast one data point on chart by drawing a rectangle");&lt;br&gt;			return;&lt;br&gt;		}&lt;br&gt;		var i,j;&lt;br&gt;		//Now we'll generate an HTML string for it&lt;br&gt;		var strHTML = "&lt;table width='100%' align='center' cellpadding='2' class='text'&gt;";&lt;br&gt;		for (i=0; i&lt;arrData.length; i++){&lt;br&gt;			//Iterate through each row of data&lt;br&gt;			//First column contains the dataset id.&lt;br&gt;			//Add dataset id&lt;br&gt;			var dataSetID = arrData[i][0];&lt;br&gt;			strHTML = strHTML + "&lt;tr&gt;&lt;td bgColor='#F1F1F1'&gt;&lt;b&gt;" + dataSetID + "&lt;/b&gt;&lt;/td&gt;&lt;td&gt;";&lt;br&gt;			var infoSet = arrData[i][1];&lt;br&gt;			alert (infoSet);&lt;br&gt;//arrData[i][0] returns the string "Cumulative Spend"&lt;br&gt;//arrData[i][1] returns the setID as a string&lt;br&gt;	&lt;br&gt;			//Iterate through all the data in this dataset&lt;br&gt;			for (j=1; j&lt;arrData[i].length; j++){&lt;br&gt;				//Add data to HTML code&lt;br&gt;				strHTML = strHTML + arrData[i][j];&lt;br&gt;				//Add separator comma to all but last item&lt;br&gt;				if (j&lt;arrData[i].length-1){&lt;br&gt;					strHTML = strHTML  + ", ";&lt;br&gt;				}				&lt;br&gt;			}&lt;br&gt;			strHTML = strHTML + "&lt;/td&gt;&lt;/tr&gt;";&lt;br&gt;		}&lt;br&gt;		//Close table tag&lt;br&gt;		strHTML = strHTML + "&lt;/table&gt;";&lt;br&gt;		//Write the data to the required div&lt;br&gt;		var tableDiv = &amp;#100;ocument.getElementById('tableDataContainer');	&lt;br&gt;		tableDiv.innerHTML = strHTML;&lt;br&gt;	}[/code]&lt;br&gt;&lt;br&gt;I originally thought the problem was contained within this area, but I think it's actually in FusionCharts.js. Problem is I'm trying to reference the XML using the DOM, but it appears as though the information returned is not set up as a DOM. Assistance would be GREATLY appreciated. Thanks in advance.</description><pubDate>Tue, 28 Aug 2007 10:20:22 GMT</pubDate><dc:creator>JoE</dc:creator></item></channel></rss>