<%@ 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">2D柱型图(横条)</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">
        webCharts </div>
      <script type="text/javascript">
		   var chart = new FusionCharts("../flashchart/Bar2D.swf", "ChartId", "350", "500", "0", "0");
		   //chart.setDataURL("Data/Bar2D.xml");//直接调用xml文件

                   var xml="<chart  baseFont='宋体' baseFontSize='14'  caption='XXXXX集团销售情况分析(单位：万元)' subcaption='XXXX年' xAxisName='月份' yAxisName='销售额' showValues='0' decimals='0' formatNumberScale='0' chartRightMargin='30' >";
                   xml=xml+"<set label='1月' value='362' />";
                   xml=xml+"<set label='2月' value='657' />";
                   xml=xml+"<set label='3月' value='871' />";
                   xml=xml+"<set label='4月' value='496' />";
                   xml=xml+"<set label='5月' value='568' />";
                   xml=xml+"<set label='6月' value='760' />";
                   xml=xml+"<set label='7月' value='689' />";
                   xml=xml+"<set label='8月' value='652' />";
                   xml=xml+"<set label='9月' value='386' />";
                   xml=xml+"<set label='10月' value='694' />";
                   xml=xml+"<set label='11月' value='741' />";
                   xml=xml+"<set label='12月' value='880' />";
                   xml=xml+"</chart>";

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

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