<%@ page contentType="text/html;charset=GBK" %>
<head>
<title></title>
<script language="JavaScript" src="../JSClass/FusionCharts.js"></script>
</head>

<table width="100%">
<tr>
<td><label class="title">3d柱型图+线条(双轴数据)图表</label></td>
<% String file=request.getServletPath().substring(1);
   String app=request.getContextPath();
%>
<td><label class="title">url：<%=file%></label></td>
<td align="right" valign="bottom" nowrap>&nbsp;[<a href="src.jsp?target=<%=file%>" target="source">源代码</a>]&nbsp;&nbsp;[<a target="_blank" href="parameter.htm"><font size="3">使用帮助</font></a>]</td>
</tr>
</table>
<hr>
<body bgcolor="#EDF3FF">
<table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
  <tr>
    <td valign="top" class="text" align="center"> <div id="chartdiv" align="center">
        webChart</div>
      <script type="text/javascript">
		   var chart = new FusionCharts("../flashchart/MSColumn3DLineDY.swf", "ChartId", "600", "360", "0", "0");
		   //chart.setDataURL("Data/Col3DLineDY.xml");//直接调用xml文件

                   var xml="<chart  baseFont='宋体' baseFontSize='14'  palette='1' caption='XXXX公司XXXX年前五个月产品销售情况' shownames='1' showvalues='0' numberPrefix='￥' sYAxisValuesDecimals='2' connectNullData='0' PYAxisName='Revenue' SYAxisName='Quantity'  numDivLines='4' formatNumberScale='0'  bgColor='99CCFF,FFFFFF' bgAlpha='40,100' bgRatio='0,100' bgAngle='360' showBorder='1'>";
                   xml=xml+"<categories>";
                   xml=xml+"<category label='1月' />";
                   xml=xml+"<category label='2月' />";
                   xml=xml+"<category label='3月' />";
                   xml=xml+"<category label='4月' />";
                   xml=xml+"<category label='5月' />";
                   xml=xml+"</categories>";
                   xml=xml+"<dataset seriesName='产品A' color='AFD8F8' showValues='0'>";
                   xml=xml+"<set value='25601.34' />";
                   xml=xml+"<set value='20148.82' />";
                   xml=xml+"<set value='17372.76' />";
                   xml=xml+"<set value='35407.15' />";
                   xml=xml+"<set value='38105.68' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesName='产品B' color='F6BD0F' showValues='0' >";
                   xml=xml+"<set value='57401.85' />";
                   xml=xml+"<set value='41941.19' />";
                   xml=xml+"<set value='45263.37' />";
                   xml=xml+"<set value='117320.16' />";
                   xml=xml+"<set value='114845.27' dashed='1'/>";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesName='数量' color='8BBA00' showValues='0' parentYAxis='S' >";
                   xml=xml+"<set value='4500' />";
                   xml=xml+"<set value='4483' />";
                   xml=xml+"<set value='4283' />";
                   xml=xml+"<set value='7755' />";
                   xml=xml+"<set value='9263' />";
                   xml=xml+"</dataset>";
                   xml=xml+"</chart>";

                   chart.setDataXML(xml);
		   chart.render("chartdiv");
		</script> </td>
  </tr>

</table>
</body>
</html>
