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

                   var xml="<chart  baseFont='宋体' baseFontSize='14' caption='近三天24小时空气XX指标对比分析' palette='1' lineThickness='2' showValues='0'  rotateNames='1' slantLabels='1' areaOverColumns='0' formatNumberScale='0'>";
                   xml=xml+"<categories >";
                   xml=xml+"<category label='00:00' />";
                   xml=xml+"<category label='01:00' />";
                   xml=xml+"<category label='02:00' />";
                   xml=xml+"<category label='03:00' />";
                   xml=xml+"<category label='04:00' />";
                   xml=xml+"<category label='05:00' />";
                   xml=xml+"<category label='06:00' />";
                   xml=xml+"<category label='07:00' />";
                   xml=xml+"<category label='08:00' />";
                   xml=xml+"<category label='09:00' />";
                   xml=xml+"<category label='10:00' />";
                   xml=xml+"<category label='11:00' />";
                   xml=xml+"<category label='12:00' />";
                   xml=xml+"<category label='13:00' />";
                   xml=xml+"<category label='14:00' />";
                   xml=xml+"<category label='15:00' />";
                   xml=xml+"<category label='16:00' />";
                   xml=xml+"<category label='17:00' />";
                   xml=xml+"<category label='18:00' />";
                   xml=xml+"<category label='19:00' />";
                   xml=xml+"<category label='20:00' />";
                   xml=xml+"<category label='21:00' />";
                   xml=xml+"<category label='22:00' />";
                   xml=xml+"<category label='23:00' />";
                   xml=xml+"</categories>";
                   xml=xml+"<dataset seriesName='前天' renderAs='Area' alpha='60' showPlotBorder='1' plotBorderColor='0372ab'>";
                   xml=xml+"<set value='498' />";
                   xml=xml+"<set value='512' />";
                   xml=xml+"<set value='592' />";
		   xml=xml+"<set value='619' />";
		   xml=xml+"<set value='664' />";
		   xml=xml+"<set value='782' />";
		   xml=xml+"<set value='665' />";
		   xml=xml+"<set value='833' />";
		   xml=xml+"<set value='1259' />";
		   xml=xml+"<set value='1623' />";
		   xml=xml+"<set value='1867' />";
		   xml=xml+"<set value='2198' />";
		   xml=xml+"<set value='1112' />";
		   xml=xml+"<set value='1192' />";
		   xml=xml+"<set value='1219' />";
		   xml=xml+"<set value='2264' />";
		   xml=xml+"<set value='2282' />";
		   xml=xml+"<set value='2365' />";
		   xml=xml+"<set value='2433' />";
		   xml=xml+"<set value='2559' />";
		   xml=xml+"<set value='2823' />";
		   xml=xml+"<set value='2867' />";
		   xml=xml+"<set value='2867' />";
		   xml=xml+"<set value='2867' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesName='昨天' >";
		   xml=xml+"<set value='336' />";
		   xml=xml+"<set value='371' />";
		   xml=xml+"<set value='485' />";
		   xml=xml+"<set value='592' />";
		   xml=xml+"<set value='601' />";
		   xml=xml+"<set value='716' />";
		   xml=xml+"<set value='864' />";
		   xml=xml+"<set value='880' />";
		   xml=xml+"<set value='992' />";
		   xml=xml+"<set value='1062' />";
		   xml=xml+"<set value='1119' />";
		   xml=xml+"<set value='1089' />";
		   xml=xml+"<set value='1212' />";
		   xml=xml+"<set value='904' />";
		   xml=xml+"<set value='1215' />";
		   xml=xml+"<set value='1358' />";
		   xml=xml+"<set value='1482' />";
		   xml=xml+"<set value='1666' />";
		   xml=xml+"<set value='1811' />";
		   xml=xml+"<set value='2051' />";
		   xml=xml+"<set value='2138' />";
		   xml=xml+"<set value='2209' />";
		   xml=xml+"<set value='2247' />";
		   xml=xml+"<set value='2301' />";
                   xml=xml+"</dataset>";
                   xml=xml+"<dataset seriesName='今天'>";
		   xml=xml+"<set value='854' />";
		   xml=xml+"<set value='965' />";
		   xml=xml+"<set value='1175' />";
		   xml=xml+"<set value='1190' />";
		   xml=xml+"<set value='1212' />";
		   xml=xml+"<set value='1241' />";
		   xml=xml+"<set value='1308' />";
		   xml=xml+"<set value='1401' />";
		   xml=xml+"<set value='1481' />";
		   xml=xml+"<set value='1851' />";
		   xml=xml+"<set value='1250' />";
		   xml=xml+"<set value='2415' />";
		   xml=xml+"<set value='2886' />";
		   xml=xml+"<set value='3252' />";
		   xml=xml+"<set value='3673' />";
		   xml=xml+"<set value='4026' />";
		   xml=xml+"<set value='4470' />";
		   xml=xml+"<set value='4813' />";
		   xml=xml+"<set value='4961' />";
		   xml=xml+"<set value='5086' />";
		   xml=xml+"<set value='5284' />";
		   xml=xml+"<set value='5391' />";
		   xml=xml+"<set value='5657' />";
		   xml=xml+"<set value='5847' />";
	           xml=xml+"</dataset>";
	           xml=xml+"<dataset seriesName='平均值' renderAs='Line' color='0372AB' lineThickness='4'>";
		   xml=xml+"<set value='511' />";
		   xml=xml+"<set value='520' />";
		   xml=xml+"<set value='628' />";
		   xml=xml+"<set value='640' />";
		   xml=xml+"<set value='746' />";
		   xml=xml+"<set value='757' />";
		   xml=xml+"<set value='890' />";
		   xml=xml+"<set value='1050' />";
		   xml=xml+"<set value='1099' />";
		   xml=xml+"<set value='1191' />";
		   xml=xml+"<set value='1252' />";
		   xml=xml+"<set value='1448' />";
		   xml=xml+"<set value='1771' />";
		   xml=xml+"<set value='2316' />";
		   xml=xml+"<set value='2763' />";
		   xml=xml+"<set value='3149' />";
		   xml=xml+"<set value='3637' />";
		   xml=xml+"<set value='4015' />";
		   xml=xml+"<set value='4262' />";
		   xml=xml+"<set value='4541' />";
		   xml=xml+"<set value='4837' />";
		   xml=xml+"<set value='5016' />";
		   xml=xml+"<set value='5133' />";
		   xml=xml+"<set value='5278' />";
	           xml=xml+"</dataset>";
	           xml=xml+"<trendLines>";
		   xml=xml+"<line startValue='4000' color='359A35' displayvalue='标准线' valueOnRight='1'/>";
	           xml=xml+"</trendLines>";
                   xml=xml+"</chart>";

                   chart.setDataXML(xml);

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