<%@ 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" id="table1">
  <tr>
    <td valign="top" class="text" align="center">
      <div id="chartdiv" align="center">
        WebChart</div>
      <script type="text/javascript">
		   var chart = new FusionCharts("../flashchart/Column2D.swf", "ChartId", "600", "350", "0", "0");
		   //chart.setDataURL("Data/Column2D.xml");//直接调用xml文件

                   var xml=" <chart palette='2'  baseFont='宋体' baseFontSize='14'  caption='XXXX公司一至六月各种产品销售统计(万元)' xAxisName='月份' yAxisName='' showValues='0' decimals='0' formatNumberScale='0' useRoundEdges='1'>";
                   xml=xml+"<set label='一月' value='300' />";
                   xml=xml+"<set label='二月' value='456' />";
                   xml=xml+"<set label='三月' value='454' />";
                   xml=xml+"<set label='四月' value='567' />";
                   xml=xml+"<set label='五月' value='565' />";
                   xml=xml+"<set label='六月' value='989' />";
                   xml=xml+"</chart>";

                   chart.setDataXML(xml);

		   chart.render("chartdiv");
		</script> </td>
  </tr>
  <tr>
    <td valign="top" class="text" align="center">&nbsp;</td>
  </tr>

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