﻿<?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 v3 / Using FusionCharts / FusionCharts and ASP  / Fusioncharts and Codecharge / 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, 07 Oct 2008 10:06:18 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Fusioncharts and Codecharge</title><link>http://www.fusioncharts.com/forum/Topic2077-30-1.aspx</link><description>http://www.fusioncharts.com/forum/Topic469-30-1.aspx&lt;br&gt;&lt;br&gt;Look here, it works well and can be replicated</description><pubDate>Tue, 01 Jan 2008 09:26:37 GMT</pubDate><dc:creator>djjwp</dc:creator></item><item><title>RE: Fusioncharts and Codecharge</title><link>http://www.fusioncharts.com/forum/Topic2077-30-1.aspx</link><description>I've not used CCS before - as such my reply would be partial and just relevant to FusionCharts side.&lt;/P&gt;&lt;P&gt;If you're getting an "Error in loading data" or other similar errors, I would recommend switching the debug mode of chart to on - that'll give you insight into as to what might be causing the chart not to work.</description><pubDate>Fri, 24 Aug 2007 02:24:34 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Fusioncharts and Codecharge</title><link>http://www.fusioncharts.com/forum/Topic2077-30-1.aspx</link><description>Hi; thanks to someone's post on this subject, I was able to get the dataXML working with CodeCharge, but the dataURL does not seem to work... my code is listed below&lt;P&gt;My Chart.html&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "&lt;A href="http://www.w3.org/TR/html4/loose.dtd"&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/A&gt;"&amp;gt;&lt;BR&gt;&amp;lt;html&amp;gt;&lt;BR&gt;&amp;lt;head&amp;gt;&lt;BR&gt;&amp;lt;meta name="GENERATOR" content="CodeCharge Studio 3.2.0.2"&amp;gt;&lt;BR&gt;&amp;lt;meta http-equiv="content-type" content="text/html; charset=windows-1252"&amp;gt;&lt;BR&gt;&amp;lt;title&amp;gt;eDashboard&amp;lt;/title&amp;gt;&lt;BR&gt;&amp;lt;link rel="stylesheet" type="text/css" href="Styles/ACSezOrder/Style_doctype.css"&amp;gt;&lt;BR&gt;&amp;lt;!--[if IE 6]&amp;gt;&amp;lt;link rel="stylesheet" type="text/css" href="Styles/ACSezOrder/Style_ie6.css"&amp;gt;&amp;lt;![endif]--&amp;gt;&lt;BR&gt;&amp;lt;script language="Javascript" src="FusionCharts.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR&gt;&amp;lt;/head&amp;gt;&lt;BR&gt;&amp;lt;body&amp;gt;&lt;BR&gt;&amp;lt;/body&amp;gt;&lt;BR&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;Chart.asp code&lt;BR&gt;============&lt;BR&gt;&amp;lt;!-- #INCLUDE VIRTUAL="FusionCharts.asp" --&amp;gt;&lt;BR&gt;...&lt;BR&gt;...&lt;BR&gt;'Fusion Chart Code&lt;BR&gt;'Variable to contain dataURL&lt;BR&gt;Dim strDataURL&lt;/P&gt;&lt;P&gt;'Set DataURL with animation property to 1&lt;BR&gt;'NOTE: It's necessary to encode the dataURL if you've added parameters to it&lt;BR&gt;'strDataURL = encodeDataURL("ChartsData.asp?animate=1")&lt;BR&gt;strDataURL = "ChartData.asp"&lt;/P&gt;&lt;P&gt;'Create the chart - Pie 3D Chart with dataURL as strDataURL&lt;/P&gt;&lt;P&gt;Call renderChart("Column3D.swf", strDataURL, "", "stats", 600, 400, false, false)&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;and my ChartData.asp&lt;BR&gt;==================&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;BR&gt;dim statsdim rs&lt;BR&gt;dim sqldim cn&lt;BR&gt;dim field1 'Hold data returned&lt;BR&gt;dim field2 'Hold name&lt;BR&gt;dim strXML 'strXML will be used to store the entire XML document generated&lt;/P&gt;&lt;P&gt;'Default.asp has passed us a property animate. We request that.&lt;BR&gt;Dim animateChart&lt;/P&gt;&lt;P&gt;animateChart = Request.QueryString("animate")&lt;BR&gt;'Set default value of 1&lt;BR&gt;if animateChart="" then&lt;BR&gt; animateChart = "1"&lt;BR&gt;end if&lt;/P&gt;&lt;P&gt;'Make db conx&lt;BR&gt;cn = "dns..."&lt;BR&gt;set rs = server.createobject("adodb.recordset")&lt;/P&gt;&lt;P&gt;'Create your SQL here, this was mine&lt;BR&gt;sql = "SELECT NBR_OPEN_INCIDENTS FROM DASHBOARD_VIEW"&lt;/P&gt;&lt;P&gt;'Start XML data&lt;BR&gt;strXML = "&amp;lt;chart caption=' Current OMS Status' subCaption='Dashboard' pieSliceDepth='30' showBorder='0' formatNumberScale='0' numberSuffix=' Tickets' animation='0'&amp;gt;"&lt;/P&gt;&lt;P&gt;'Open db and grab records&lt;BR&gt;rs.open sql, cn&lt;BR&gt;do while not rs.eof&lt;BR&gt;    'Write the data line str&lt;BR&gt;    XML = strXML &amp;amp; "&amp;lt;set label='Open Incidents' value='20'/&amp;gt;"&lt;BR&gt;    'Go to next record&lt;BR&gt;    rs.movenext&lt;BR&gt;loop&lt;/P&gt;&lt;P&gt;'Finally, close &amp;lt;chart&amp;gt; element&lt;BR&gt;strXML = strXML &amp;amp; "&amp;lt;/chart&amp;gt;"&lt;/P&gt;&lt;P&gt;'Close loop and conx&lt;BR&gt;rs.closeSet&lt;BR&gt;rs = nothing&lt;/P&gt;&lt;P&gt;'Set Proper output content-type&lt;BR&gt;Response.ContentType = "text/xml"&lt;/P&gt;&lt;P&gt;'Just write out the XML data&lt;BR&gt;'NOTE THAT THIS PAGE DOESN'T CONTAIN ANY HTML TAG, WHATSOEVER&lt;/P&gt;&lt;P&gt;Response.Write(strXML)&lt;BR&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;the result can be seen at&lt;BR&gt;&lt;A href="http://open.acsatlanta.com/OMS/chart.asp"&gt;http://open.acsatlanta.com/OMS/chart.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;there is no data showing..&lt;/P&gt;&lt;P&gt;Would appreicate a fresh set of eyes...&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Thu, 23 Aug 2007 06:56:32 GMT</pubDate><dc:creator>terencef</dc:creator></item></channel></rss>