<%@ 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">3D联合图表</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/MSCombi3D.swf", "ChartId", "650", "450", "0", "0");
		   //chart.setDataURL("Data/Combi3D.xml");

                   var xml="<chart  baseFont='宋体' baseFontSize='12'  palette='3' caption='近三年来XX指标对比图' xAxisName='月份'  showValues='0' chartOrder='line,area,column' endAngX='35' endAngY='-20'>";

                   xml=xml+"<categories>";
                   xml=xml+"<category label='1月' />";
                   xml=xml+"<category label='2月' />";
                   xml=xml+"<category label='3月' />";
                   xml=xml+"<category label='4月' />";
                   xml=xml+"<category label='5月' />";
                   xml=xml+"<category label='6月' />";
                   xml=xml+"<category label='7月' />";
                   xml=xml+"<category label='8月' />";
                   xml=xml+"<category label='9月' />";
                   xml=xml+"<category label='10月' />";
                   xml=xml+"<category label='11月' />";
                   xml=xml+"<category label='12月' />";
                   xml=xml+"</categories>";

                   xml=xml+"<dataset seriesName='今年'>";
                   xml=xml+"<set value='274' />";
                   xml=xml+"<set value='298'/>";
                   xml=xml+"<set value='258' />";
                   xml=xml+"<set value='268' />";
                   xml=xml+"<set value='296' />";
                   xml=xml+"<set value='326' />";
                   xml=xml+"<set value='318' />";
                   xml=xml+"<set value='367' />";
                   xml=xml+"<set value='297' />";
                   xml=xml+"<set value='319' />";
                   xml=xml+"<set value='348' />";
                   xml=xml+"<set value='248' />";
                   xml=xml+"</dataset>";

                   xml=xml+"<dataset seriesName='去年' renderAs='Area'>";
                   xml=xml+"<set value='100'/>";
                   xml=xml+"<set value='115'/>";
                   xml=xml+"<set value='125'/>";
                   xml=xml+"<set value='150'/>";
                   xml=xml+"<set value='110' />";
                   xml=xml+"<set value='98' />";
                   xml=xml+"<set value='118' />";
                   xml=xml+"<set value='197' />";
                   xml=xml+"<set value='217' />";
                   xml=xml+"<set value='219' />";
                   xml=xml+"<set value='229' />";
                   xml=xml+"<set value='208' />";
                   xml=xml+"</dataset>";

                   xml=xml+"<dataset seriesName='前年' renderAs='Line'>";
                   xml=xml+"<set value='70'/>";
                   xml=xml+"<set value='105'/>";
                   xml=xml+"<set value='95'/>";
                   xml=xml+"<set value='100'/>";
                   xml=xml+"<set value='90' />";
                   xml=xml+"<set value='88' />";
                   xml=xml+"<set value='98' />";
                   xml=xml+"<set value='157' />";
                   xml=xml+"<set value='167' />";
                   xml=xml+"<set value='149' />";
                   xml=xml+"<set value='129' />";
                   xml=xml+"<set value='88' />";
                   xml=xml+"</dataset>";

                   xml=xml+"<trendlines>";
                   xml=xml+"<line startValue='160' color='91C728' displayValue='标准线' showOnTop='1' valueOnRight='1'/>";
                   xml=xml+"</trendlines>";

                   xml=xml+"<styles>";
                   xml=xml+"<definition>";
                   xml=xml+"<style name='bgAnim' type='animation' param='_xScale' start='0' duration='1' />";
                   xml=xml+"</definition>";
                   xml=xml+"<application>";
                   xml=xml+"<apply toObject='BACKGROUND' styles='bgAnim' />";
                   xml=xml+"</application>";
                   xml=xml+"</styles>";
                   xml=xml+"</chart>";
                   chart.setDataXML(xml);

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

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