boarderx Report post Posted October 21, 2008 (edited) Upon rendering, my charts consistently show the text "undefined". When the button that is used to render the chart is clicked a second time, the chart will appear. I can't figure out why this is happening. I'm working in a .aspx page, but using javascript to pull the chart data and render it. I read a post from someone with a similar problem that hinted that the full javascript file may not be loaded before the chart is rendered. I don't think that's possible in my case because the js is loaded on page load and the chart is only rendered when the user clicks a button. My aspx page has this script definition: < script type="text/javascript" src="/FusionCharts/FusionCharts.js"> script > This is the javascript: getPopupChartData(location, 'LEVEL', function(xml) { var chartLevel = new FusionCharts("/FusionCharts/Charts/Pie3D.swf", "SS1", chartWidth, chartHeight, "0", "0"); chartLevel.setDataXML(escape(xml)); chartLevel.render("LevelsChart"); }); For some reason the xml won't post correctly, so I attached a file. data.xml Edited October 21, 2008 by Guest Share this post Link to post Share on other sites