<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="chart_analysis.aspx.vb" Inherits="gogo_mechanism.chart_analysis" %>
<%@ Import namespace="gogo_mechanism"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">
<div class="stats">
    <p class="stat">&nbsp;</p>
</div>
            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
               <div class="search-toolbar">
                                  <i class="icon-search"></i> 单位<asp:TextBox ID="dpmid" 
                                      runat="server" onclick="showDIV(this,dwtree);" ReadOnly="True"></asp:TextBox>
                                  时间<asp:TextBox ID="sj1" runat="server" MaxLength="40" 
                                      onfocus="WdatePicker();" Width="100px"></asp:TextBox>
                                  至<asp:TextBox ID="sj2" runat="server" MaxLength="40" onfocus="WdatePicker();" 
                                      Width="100px"></asp:TextBox>
                                
							    策略<asp:TextBox ID="ksid" runat="server" 
                                      onclick="showDIV(this,kstree);" ReadOnly="True" Width="100px">选择预警策略</asp:TextBox>
                                级别<asp:DropDownList ID="jb" runat="server">
                                      <asp:ListItem Value="0">所有</asp:ListItem>
                                      <asp:ListItem Value="1">蓝色</asp:ListItem>
                                      <asp:ListItem Value="2">黄色</asp:ListItem>
                                      <asp:ListItem Value="3">红色</asp:ListItem>
                                  </asp:DropDownList>
                                  其他<asp:DropDownList ID="how" runat="server">
                                      <asp:ListItem Value="title">标题</asp:ListItem>
                                      <asp:ListItem Value="url">地址</asp:ListItem>
                                      <asp:ListItem Value="host">域名</asp:ListItem>
                                      <asp:ListItem Value="keys">关键词</asp:ListItem>
                                      <asp:ListItem Value="html">源码</asp:ListItem>
                                  </asp:DropDownList>
                                  <asp:TextBox ID="key" runat="server" Width="100px"></asp:TextBox>
                                  图形大小<asp:TextBox ID="w" runat="server" Width="53px">1000</asp:TextBox>
                                  ×<asp:TextBox ID="h" runat="server" Width="53px">500</asp:TextBox>
                                  样式<asp:DropDownList ID="ys" runat="server">
                                      <asp:ListItem>饼状图</asp:ListItem>
                                      <asp:ListItem>柱状图</asp:ListItem>
                                      <asp:ListItem>线形图</asp:ListItem>
                                      <asp:ListItem>条状图</asp:ListItem>
                                  </asp:DropDownList>
                                  <asp:CheckBox ID="slz" runat="server" Text="名称带数量值" />
                                  归类<asp:DropDownList ID="gl" runat="server">
                                      <asp:ListItem>按策略统计</asp:ListItem>
                                      <asp:ListItem>按每天统计</asp:ListItem>
                                      <asp:ListItem>按每周（7天）统计</asp:ListItem>
                                      <asp:ListItem>按每月统计</asp:ListItem>
                                      <asp:ListItem>按每年统计</asp:ListItem>
                                  </asp:DropDownList>
                            
                          
                                
							      <asp:RegularExpressionValidator ID="RegularExpressionValidator17" 
                                      runat="server" ControlToValidate="sj1" ErrorMessage="日期格式错误" 
                                      
                                      ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:RegularExpressionValidator>
                                  <asp:RegularExpressionValidator ID="RegularExpressionValidator18" 
                                      runat="server" ControlToValidate="sj2" ErrorMessage="日期格式错误" 
                                      
                                      ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:RegularExpressionValidator>
                                  
                                
               </div>         
<div class="btn-toolbar">
    <asp:Button ID="Button1" runat="server" OnClientClick="disableBtn(this);" 
        Text="生成图表" class="btn"/>
</div>
<div class="btn-group"></div>
<div class="well">
    <asp:Chart ID="Chart1" runat="server" Height="600px" Visible="False" 
        Width="800px" Palette="Pastel">
        <Series>
            <asp:Series ChartType="Pie" Name="Series1" Font="Microsoft Sans Serif, 14.25pt" 
                Palette="Pastel">
            </asp:Series>
        </Series>
        <ChartAreas>
            <asp:ChartArea Name="ChartArea1">
                <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False">
                </AxisX>
            </asp:ChartArea>
        </ChartAreas>
    </asp:Chart>
</div>
                  
            </div>
        </div>
    </div>
 <!--隐藏开始-->
			<div class="menudiv" id="dwtree">
            <asp:TreeView ID="fidTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
                       <!--隐藏开始-->
			<div class="menudiv" id="kstree">
<asp:TreeView ID="KsTreeView" runat="server" ImageSet="Simple" 
        NodeIndent="15" ShowCheckBoxes="Leaf" ShowExpandCollapse="False"  Font-Overline="False">
           <HoverNodeStyle Font-Underline="True" />
            <NodeStyle ForeColor="Black" 
                HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
    </form>
</body>
</html>
