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


                   var xml="<chart   baseFont='宋体' baseFontSize='14'  palette='3' caption='XXXX IT公司产品销售情况' subcaption='(单位：万元 RMB)' xaxisname='年份' Yaxisname='' numdivlines='3'  showSum='1' useRoundEdges='1' legendBorderAlpha='0'>";
                   xml=xml+"<categories font='Arial' fontSize='12' fontColor='000000'>";
                   xml=xml+"<category label='2008'/>";
                   xml=xml+"<category label='2009'/>";
                   xml=xml+"<category label='2010'/>";
                   xml=xml+"<category label='2011'/>";
                   xml=xml+"<category label='2012'/>";
                   xml=xml+"</categories>";
                   xml=xml+"<dataset>";
                   xml=xml+"<dataSet seriesName='服务器A' color='AFD8F8' showValues='0'>";
                   xml=xml+"<set value='30' />";
                   xml=xml+"<set value='26' />";
                   xml=xml+"<set value='29' />";
                   xml=xml+"<set value='31' />";
                   xml=xml+"<set value='34' />";
                   xml=xml+"</dataSet>";
                   xml=xml+"<dataSet seriesName='服务器B' color='F6BD0F' showValues='0'>";
                   xml=xml+"<set value='21' />";
                   xml=xml+"<set value='28' />";
                   xml=xml+"<set value='39' />";
                   xml=xml+"<set value='41' />";
                   xml=xml+"<set value='24' />";
                   xml=xml+"</dataSet>";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataSet>";
                   xml=xml+"<dataset seriesname='软件A' color='8BBA00'  showValues='0'>";
                   xml=xml+"<set value='27' />";
                   xml=xml+"<set value='25' />";
                   xml=xml+"<set value='28' />";
                   xml=xml+"<set value='26' />";
                   xml=xml+"<set value='10' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesname='软件B' color='A66EDD'  showValues='0'>";
                   xml=xml+"<set value='17' />";
                   xml=xml+"<set value='15' />";
                   xml=xml+"<set value='18' />";
                   xml=xml+"<set value='16' />";
                   xml=xml+"<set value='10' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesname='软件C' color='F984A1' showValues='0'>";
                   xml=xml+"<set value='12' />";
                   xml=xml+"<set value='17' />";
                   xml=xml+"<set value='16' />";
                   xml=xml+"<set value='15' />";
                   xml=xml+"<set value='12' />";
                   xml=xml+"</dataset>";
                   xml=xml+"</dataSet>";
                   xml=xml+"</chart>";
                   chart.setDataXML(xml);
		   chart.render("chartdiv");
		</script> </td>
  </tr>

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