<%@ 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">
        webChart </div>
      <script type="text/javascript">
		   var chart = new FusionCharts("../flashchart/MSColumn2D.swf", "ChartId", "600", "380", "0", "0");
		   //chart.setDataURL("Data/MSColumn2D.xml");//直接调用xml文件


                   var xml=" <chart  baseFont='宋体' baseFontSize='14'  palette='2' caption='石油进口分析(单位：万桶)' shownames='1' showvalues='0' decimals='0' numberPrefix='' useRoundEdges='1' legendBorderAlpha='0'  formatNumberScale='0'>";
                   xml=xml+"<categories><category label='美国' /><category label='中国' /><category label='德国' /><category label='日本' /><category label='朝鲜' /></categories><dataset seriesName='2010年' color='EFD8F8' showValues='0'>";
                   xml=xml+"<set value='1000' />";
                   xml=xml+"<set value='600' />";
                   xml=xml+"<set value='500' />";
                   xml=xml+"<set value='700' />";
                   xml=xml+"<set value='400' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesName='2011年' color='A6BD0F' showValues='0'>";
                   xml=xml+"<set value='1200' />";
                   xml=xml+"<set value='500' />";
                   xml=xml+"<set value='480' />";
                   xml=xml+"<set value='600' />";
                   xml=xml+"<set value='480' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesName='2012年' color='F8BA00' showValues='0'>";
                   xml=xml+"<set value='700' />";
                   xml=xml+"<set value='500' />";
                   xml=xml+"<set value='500' />";
                   xml=xml+"<set value='560' />";
                   xml=xml+"<set value='300' />";
                   xml=xml+"</dataset>";
                   xml=xml+"</chart>";

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