241 lines
9.5 KiB
Plaintext
241 lines
9.5 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepGeneral.aspx.vb" Inherits="ZDG_RepGeneral" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
Reporte General
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
|
|
<asp:UpdatePanel ID="UpdatePanel1" runat="server" RenderMode="Inline">
|
|
<ContentTemplate>
|
|
<div class="btn-group pull-right btn-separete">
|
|
<asp:Button ID="BtnConsultar" runat="server" Text="Actualizar" class="btn btn-fit-height btnopaco" />
|
|
<asp:Timer runat="server" ID="TimmerRefresh" Interval="170000" OnTick="TimmerRefresh_Tick"></asp:Timer>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="portlet solid grey-cascade portlet-filter">
|
|
<div class="portlet-title portlet-filterT smalltitle">
|
|
<div class="titlefiltros caption ">
|
|
<div class="row">
|
|
<label class="col-md-1 truncate">Municipio</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlMunicipio" AutoPostBack="true" OnSelectedIndexChanged="DdlMunicipio_SelectedIndexChanged" runat="server" Width="100%" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="Municipio" DataValueField="CveMunicipio">
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<%--<label class="col-md-1 truncate">Actualización</label>
|
|
<div class="col-md-2">
|
|
<asp:CheckBox Text="Actualización automatica" ID="ChkUpdate" ClientIDMode="Static" runat="server" />
|
|
<asp:Button Text="" OnClick="BtnUpdate_Click" ClientIDMode="Static" ID="BtnUpdate" Style="display: none;" runat="server" />
|
|
</div>--%>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
<div class="row">
|
|
<div class="col-md-4 pull-right" style="text-align: right;">
|
|
<asp:UpdatePanel runat="server">
|
|
<ContentTemplate>
|
|
<code>
|
|
<asp:Literal Text="" runat="server" ID="LtActualizado" />
|
|
</code>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</div>
|
|
|
|
<asp:UpdatePanel ID="UpDatos" UpdateMode="Conditional" runat="server">
|
|
<ContentTemplate>
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<%--GRAFICA 1--%>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div id="Grafica1" style="min-width: 310px; height: 300px; margin: 0 auto"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<%--GRAFICA 2--%>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div id="Grafica2" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%--GRAFICA 3--%>
|
|
<div class="col-md-6">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div id="Grafica3" style="min-width: 310px; height: 700px; margin: 0 auto"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
<script type="text/javascript">
|
|
|
|
//$(function () {
|
|
|
|
// $(document).ready(function () {
|
|
|
|
// // Build the chart
|
|
// $('#Grafica3').highcharts({
|
|
// chart: {
|
|
// plotBackgroundColor: null,
|
|
// plotBorderWidth: null,
|
|
// plotShadow: false,
|
|
// type: 'pie'
|
|
// },
|
|
// title: {
|
|
// text: 'AVANCE'
|
|
// },
|
|
// tooltip: {
|
|
// pointFormat: '{series.name}: <b>{point.y} ,{point.percentage:.1f}%</b>'
|
|
// },
|
|
// plotOptions: {
|
|
// pie: {
|
|
// allowPointSelect: true,
|
|
// cursor: 'pointer',
|
|
// dataLabels: {
|
|
// enabled: true,
|
|
// distance: -50
|
|
// },
|
|
// showInLegend: true
|
|
// }
|
|
// },
|
|
// series: [{
|
|
// name: 'AVANCE',
|
|
// colorByPoint: true,
|
|
// data: [
|
|
// {
|
|
// name: 'DG',
|
|
// y: 56.33,
|
|
// color: '#5C7FD9',
|
|
// sliced: true,
|
|
// selected: true
|
|
// },
|
|
// {
|
|
// name: 'EM',
|
|
// y: 24.03,
|
|
// color: '#EBB32F'
|
|
// },
|
|
// {
|
|
// name: 'AE',
|
|
// y: 10.38,
|
|
// color: '#A2A2A2'
|
|
// },
|
|
// {
|
|
// name: 'NI',
|
|
// y: 4.77,
|
|
// color: '#F2E832'
|
|
// },
|
|
// ]
|
|
// }]
|
|
// });
|
|
// });
|
|
//});
|
|
|
|
|
|
//$(function () {
|
|
// $('#Grafica1').highcharts({
|
|
// chart: {
|
|
// type: 'column'
|
|
// },
|
|
// title: {
|
|
// text: 'AVANCE POR TENDENCIA'
|
|
// },
|
|
// xAxis: {
|
|
// categories: ['DG', 'EM', 'AE', 'NI']
|
|
// },
|
|
// yAxis: {
|
|
// min: 0,
|
|
// title: {
|
|
// text: 'VOTOS'
|
|
// },
|
|
// stackLabels: {
|
|
// enabled: true,
|
|
// style: {
|
|
// fontWeight: 'bold',
|
|
// color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
|
|
// }
|
|
// }
|
|
// },
|
|
// tooltip: {
|
|
// headerFormat: '<b>{point.x}</b><br/>',
|
|
// pointFormat: '{series.name}: {point.y}'
|
|
// },
|
|
// plotOptions: {
|
|
// column: {
|
|
// stacking: 'normal',
|
|
// dataLabels: {
|
|
// enabled: true,
|
|
// colorByPoint: true,
|
|
// color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || 'white',
|
|
// style: {
|
|
// textShadow: '0 0 3px black'
|
|
// }
|
|
// }
|
|
// }
|
|
// },
|
|
// series: [
|
|
// {
|
|
// name: 'Meta',
|
|
// showInLegend: false,
|
|
// data: [
|
|
// { y: 3606, color: '#A9C0FB' },
|
|
// { y: 2785, color: '#F0D390' },
|
|
// { y: 3606, color: '#E2E2E2' },
|
|
// { y: 3606, color: '#F0EC9C' }
|
|
// ]
|
|
// },
|
|
// {
|
|
// name: 'Avance',
|
|
// showInLegend: false,
|
|
// data: [
|
|
// { y: 3606, color: '#5C7FD9' },
|
|
// { y: 2785, color: '#EBB32F' },
|
|
// { y: 3606, color: '#A2A2A2' },
|
|
// { y: 3606, color: '#F2E832' }
|
|
// ]
|
|
// }
|
|
// ],
|
|
// credits: {
|
|
// enabled: false
|
|
// }
|
|
// });
|
|
//});
|
|
|
|
|
|
</script>
|
|
|
|
</asp:Content>
|
|
|