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

                    var xml="<chart  baseFont='宋体' baseFontSize='14' caption='XXXXX集团销售情况分析(单位：万元)' subcaption='XXXX年' xAxisName='月份' yAxisName='销售额' yAxisMinValue='100'  numberPrefix='￥' showValues='0' alternateHGridColor='FCB541' alternateHGridAlpha='20' divLineColor='FCB541' divLineAlpha='50' canvasBorderColor='666666' baseFontColor='666666' lineColor='FCB541'>";
	           xml=xml+"<set label='1月' value='200' />";
	           xml=xml+"<set label='2月' value='300' />";
	           xml=xml+"<set label='3月' value='300' />";
	           xml=xml+"<set label='4月' value='500' />";
	           xml=xml+"<set label='5月' value='300' />";
	           xml=xml+"<set label='6月' value='600' />";
	           xml=xml+"<set label='7月' value='700' />";
	           xml=xml+"<set label='8月' value='800' />";
	           xml=xml+"<set label='9月' value='600' />";
	           xml=xml+"<set label='10月' value='800' />";
	           xml=xml+"<set label='11月' value='800' />";
	           xml=xml+"<set label='12月' value='820' />";

                   xml=xml+"<styles>";
                   xml=xml+"   <definition>";
		   xml=xml+"   <style name='Anim1' type='animation' param='_xscale' start='0' duration='1' />";
		   xml=xml+"   <style name='Anim2' type='animation' param='_alpha' start='0' duration='0.6' />";
		   xml=xml+"   <style name='DataShadow' type='Shadow' alpha='40'/>";
	           xml=xml+"   </definition>";
		   xml=xml+"   <application>";
                   xml=xml+"   <apply toObject='DIVLINES' styles='Anim1' />";
                   xml=xml+"   <apply toObject='HGRID' styles='Anim2' />";
                   xml=xml+"   <apply toObject='DATALABELS' styles='DataShadow,Anim2' />";
	           xml=xml+"   </application>";
	           xml=xml+"</styles>";

                   xml=xml+"   </chart>";

                   chart.setDataXML(xml);

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