lineChartHelp.jsp
1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/mobilemode/init.jsp"%>
<html>
<head>
<title></title>
<style>
*{
font-family: 'Microsoft YaHei', Arial;
}
html,body{
height: 100%;
margin: 0px;
padding: 0px;
}
.dataTable{
border-collapse: collapse;
margin: 5px 0px;
}
.dataTable td{
border: 1px solid #ccc;
padding: 3px 10px;
}
.dataTable tr.header td{
font-weight: bold;
background-color: #f8f8f8;
}
</style>
<script type="text/javascript">
function onClose(){
if(top && top.closeTopDialog){
top.closeTopDialog();
}else{
window.close();
}
}
</script>
</head>
<body>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(309,user.getLanguage())+",javascript:onClose(),_top} " ; //关闭
RCMenuHeight += RCMenuHeightStep ;
%>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<div style="text-align:center">
<img src="/mobilemode/images/lineChartHelp.png" style="width: 512px;height: 310px;">
</div>
<div style="padding-left: 15px;">
<%=SystemEnv.getHtmlLabelName(127606,user.getLanguage())%><!-- 以上图中的图表为例,其SQL返回的数据如下: -->
<table class="dataTable">
<tr class="header">
<td>name</td>
<td>最高气温</td>
<td>最低气温</td>
</tr>
<tr>
<td>周一</td>
<td>11</td>
<td>1</td>
</tr>
<tr>
<td>周二</td>
<td>7</td>
<td>6</td>
</tr>
<tr>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
</table>
<div style="line-height: 20px;">
<%=SystemEnv.getHtmlLabelName(384907,user.getLanguage())%><!-- 其中第一列为x轴的类别名称 --><br/>
<%=SystemEnv.getHtmlLabelName(384913,user.getLanguage())%><!-- 第二列开始到第N列为数据列,就是显示的折线图的点数据 --><br/>
<%=SystemEnv.getHtmlLabelName(384909,user.getLanguage())%><!-- 图例会使用各数据列的列名称 --><br/>
</div>
</div>
</body>
</html>