<%@ 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/MSArea.swf", "ChartId", "600", "320", "0", "0");
		   //chart.setDataURL("Data/MSArea2D.xml");//直接调用xml文件

                   var xml="<chart   baseFont='宋体' baseFontSize='14'  bgColor='E9E9E9' outCnvBaseFontColor='666666' caption='XXXX公司去年和今年的销售情况分析(单位:万元)'  xAxisName='月份' yAxisName='销售额' numberPrefix='￥' showNames='1' showValues='0' plotFillAlpha='50' numVDivLines='10' showAlternateVGridColor='1' AlternateVGridColor='e1f5ff' divLineColor='e1f5ff' vdivLineColor='e1f5ff'  baseFontColor='666666' canvasBorderThickness='1' showPlotBorder='1' plotBorderThickness='0'  formatNumberScale='0'>";
                   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+"<category label='6月' />";
                   xml=xml+"<category label='7月' />";
                   xml=xml+"<category label='8月' />";
                   xml=xml+"<category label='9月' />";
                   xml=xml+"<category label='10月' />";
                   xml=xml+"<category label='11月' />";
                   xml=xml+"<category label='12月' />";
                   xml=xml+"</categories>";

                   xml=xml+"<dataset seriesName='去年' color='F8A1D1' plotBorderColor='C8A1D1'>";
                   xml=xml+"<set  />";
                   xml=xml+"<set />";
                   xml=xml+"<set value='4500'/>";
                   xml=xml+"<set value='6500'/>";
                   xml=xml+"<set value='7600' />";
                   xml=xml+"<set value='6800' />";
                   xml=xml+"<set value='11800' />";
                   xml=xml+"<set value='19700' />";
                   xml=xml+"<set value='21700' />";
                   xml=xml+"<set value='21900' />";
                   xml=xml+"<set value='22900' />";
                   xml=xml+"<set value='29800' />";
                   xml=xml+"</dataset>";

                   xml=xml+"<dataset seriesName='今年' color='D1D1DC' plotBorderColor='B1D1DC'>";
                   xml=xml+"<set value='27400' />";
                   xml=xml+"<set value='29800'/>";
                   xml=xml+"<set value='25800' />";
                   xml=xml+"<set value='26800' />";
                   xml=xml+"<set value='29600' />";
                   xml=xml+"<set value='32600' />";
                   xml=xml+"<set value='31800' />";
                   xml=xml+"<set value='36700' />";
                   xml=xml+"<set value='29700' />";
                   xml=xml+"<set value='31900' />";
                   xml=xml+"<set value='32900' />";
                   xml=xml+"<set value='34800' />";
                   xml=xml+"</dataset>";

                   xml=xml+"</chart> ";

                   chart.setDataXML(xml);

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

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