<%@ 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">柱型图+线条联合图表</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/MSColumnLine3D.swf", "ChartId", "600", "380", "0", "0");
		   //chart.setDataURL("Data/Col3DLine.xml");//直接调用xml文件

                  var xml=" <chart   baseFont='宋体' baseFontSize='14'  caption='产品销售情况' palette='1' showValues='0' yAxisValuesPadding='10'  formatNumberScale='0'   bgColor='99CCFF,FFFFFF' bgAlpha='40,100' bgRatio='0,100' bgAngle='360' showBorder='1'>";
                  xml=xml+"<categories>";
                  xml=xml+"<category label='一月' />";
		  xml=xml+"<category label='二月' />";
		  xml=xml+"<category label='三月' />";
		  xml=xml+"<category label='四月' />";
		  xml=xml+"<category label='五月' />";
                  xml=xml+"</categories>";

	          xml=xml+"<dataset seriesName='产品A'>";
		  xml=xml+"<set value='36000' />";
		  xml=xml+"<set value='34300' />";
		  xml=xml+"<set value='30000' />";
		  xml=xml+"<set value='27800' />";
		  xml=xml+"<set value='25000' />";
	          xml=xml+"</dataset>";

                  xml=xml+"<dataset seriesname='产品B'>";
		  xml=xml+"<set value='31000' />";
		  xml=xml+"<set value='29300' />";
		  xml=xml+"<set value='26000' />";
		  xml=xml+"<set value='21000' />";
		  xml=xml+"<set value='20500' />";
	          xml=xml+"</dataset>";

	          xml=xml+"<dataset seriesname='A曲线' renderAs='Line'>";
		  xml=xml+"<set value='25000' />";
		  xml=xml+"<set value='23000' />";
		  xml=xml+"<set value='20000' />";
		  xml=xml+"<set value='18000' />";
		  xml=xml+"<set value='14500' />";
	          xml=xml+"</dataset>";

	          xml=xml+"<dataset seriesname='B曲线' renderAs='Line' >";
                  xml=xml+"<set value='17000' />";
		  xml=xml+"<set value='15000' />";
		  xml=xml+"<set value='16000' />";
		  xml=xml+"<set value='11500' />";
		  xml=xml+"<set value='10000' />";
	          xml=xml+"</dataset>";

                  xml=xml+"</chart>";

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

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