here is the code to create the charts:
Quote
<!--#INCLUDE FILE="project_conn.asp" --><br>
<br>
<SCRIPT LANGUAGE="Javascript" SRC="FusionCharts_User/JSClass/FusionCharts.js"></SCRIPT><br>
</HEAD><br>
<!-- #INCLUDE FILE="FusionCharts_User/Code/ASP/Includes/FusionCharts.asp" --><br>
<%<br>
Dim strXML <br>
sql = "select (select area from area where area.id = plandata.businessarea) as axis, businessarea, count(id) as status from plandata group by businessarea" <br>
set rs = conn.execute(sql) <br>
<br>
<br>
' strXML = "<chart caption='Factory Output report' subCaption='By Quantity' pieSliceDepth='30' showBorder='1' formatNumberScale='0' numberSuffix=' Units'>" <br>
strXML = "<chart caption='Open Projects' subCaption='by Business Area' pieSliceDepth='10' showLabels='0' showBorder='0' formatNumberScale='0' >"<br>
<br>
do while not rs.eof<br>
strXML = strXML & "<set label='" & rs("axis") & "' value='" & rs("status") & "' link='projectbyarea.asp?query1=" & rs("businessarea") & "' />"<br>
<br>
rs.movenext<br>
loop <br>
rs.close<br>
strXML = strXML & "</chart>"<br>
<br>
<br>
'Create the chart - Column 3D Chart with data from strXML variable using dataXML method<br>
Call renderChart("FusionCharts_User/Charts/Pie2D.swf", "", strXML, "byarea", 250, 300, false, false)<br>
%><br>
no matter what I do the charts are on top of each other instead of side by side. help is appreciated.

Back to top
MultiQuote