ga update

This commit is contained in:
Dante
2015-07-23 17:43:02 -04:00
parent ad87f55dff
commit e316f48dce
7 changed files with 61 additions and 42 deletions

File diff suppressed because one or more lines are too long

View File

@@ -653,7 +653,7 @@ class indicatorsCalculator
G::loadClass('wsTools');
$currentWS = defined('SYS_SYS') ? SYS_SYS : 'Wokspace Undefined';
$workSpace = new workspaceTools($currentWS);
$arrayHost = explode(":", $workSpace->dbHost);
$arrayHost = split(":", $workSpace->dbHost);
$host = "host=".$arrayHost[0];
$port = count($arrayHost) > 1 ? ";port=".$arrayHost[1] : "";
$db = ";dbname=".$workSpace->dbName;

View File

@@ -17,7 +17,7 @@ $(document).ready(function() {
$('#compareButton').click(function(){
$('#comparisonBreadcrumb').find('li').remove()
$('#comparisonBreadcrumb')
.append ('<li><a class="bread-back-selector2" href="#"><i class="fa fa-chevron-left fa-fw"></i>Return to Indicator View</a>');
.append ('<li><a class="bread-back-selector2" href="#"><i class="fa fa-chevron-left fa-fw"></i>Return to the Indicator\'s View</a>');
tsPresenter.historicData(
$('#indicatorList').val(),
$('#periodicityList').val(),
@@ -63,7 +63,6 @@ $(document).ready(function() {
});
});
var bindTimeSeriesLists = function (presenter, elementsToConserve) {
var conserveStates =[];

View File

@@ -219,7 +219,6 @@ ViewDashboardPresenter.prototype.setStatusButtonWidthsAndDisplayValues = functio
break;
}
var widthToDivide = 100 - barsLessThanMin.length * minPercent;
var normalsSum = 0;
$.each (barsNormal, function() {

View File

@@ -869,6 +869,7 @@ var fillGeneralIndicatorFirstView = function (presenterData) {
area: {visible: false, css:"area"},
axisX:{ showAxis: true, label: G_STRING.ID_PROCESS_TASKS },
axisY:{ showAxis: true, label: G_STRING.ID_TIME_HOURS },
marker:{ratio:5, css: "line-chart-point"},
showErrorBars: false
}
};

View File

@@ -363,7 +363,7 @@
<body id="page-top" class="index">
<img id="scrollImg" class="floating" src="/images/scrolldown.gif" width="80" height="80" style="border-radius:85px; visibility:hidden;"/>
<div id="wrapper">
<div id="wrapper" style="background:#fff;">
<div id="page-wrapper">
<!--Cabezera-->
<div class="row">
@@ -371,16 +371,14 @@
<div class="panel panel-default">
<div class="panel-body">
<div class="span4 pull-left">
<a class="btn btn-primary dashboard-button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
<i class="fa fa-bar-chart fa-2x"></i>
<i class="fa fa-chevron-down fa-1x"></i>
</a>
</div>
<h4 id="titleH4" class="header-dashboard"></h4>
<a class="btn btn-primary dashboard-button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
<i class="fa fa-bar-chart fa-2x"></i>
<i class="fa fa-chevron-down fa-1x"></i>
</a>
</div>
<h4 id="titleH4" class="header-dashboard ellipsis" style="max-width:400px;"></h4>
<div class="pull-right dashboard-right container-fluid">
<div id="compareIndicators" class="row pull-left">
<div class="span4 pull-left" style="margin:15px; ">
<span id="indicatorLabel"></span>
<select id="indicatorList"></select>

View File

@@ -62,20 +62,59 @@
.pie-label {font-size:10px;}
.axis-label {font-size:10px;}
.errorBar, .errorBarLowerMark, .errorBarUpperMark{
stroke: blue;
stroke-width: 1;
}
.x-ticks-label {
font-size:9px;
font-size:10px;
font-weight:normal;
stroke: #000;
fill: #000;
-webkit-filter: drop-shadow( 0px 0px 0px #000 );
filter: drop-shadow( 0px 0px 0px #000); /* Same syntax as box-shadow */
}
.y-ticks-label {
font-size:9px;
font-size:10px;
font-weight:normal;
stroke: #000;
fill: #000;
}
.axis-label {
font-size:12px;
font-weight:bold;
}
.line1 {
stroke: #A4B78A;
stroke-width: 3;
fill: none;
}
.line2 {
stroke: #eee;
stroke-width: 2;
fill: none;
}
.line-chart-point {
stroke:#006E2E;
fill: #006E2E;
opacity:0.8;
-webkit-filter: drop-shadow( -2px -2px 2px #000 );
filter: drop-shadow( -2px -2px 2px #000); /* Same syntax as box-shadow */
}
.chart-background {
background:#fff;
}
.das-title-selector {
width:160px;
text-overflow: ellipsis;
@@ -641,12 +680,6 @@ img#topright { top:0; right:0; }
opacity: 0.9;
}
path.line1 {
stroke: steelblue;
stroke-width: 1;
fill: none;
shape-rendering: auto;
}
.axis path,
.axis line {
@@ -688,18 +721,18 @@ img#topright { top:0; right:0; }
.tick {
stroke:blue;
stroke-opacity: 0.3;
font-size:12px;
/*stroke-opacity: 0.3;*/
font-size:10px;
font-family:arial;
/*font-weight:normal;*/
font-weight:normal;
/*text-shadow:1px 1px 1px #000;*/
}
.tick :Hover{
stroke:red;
stroke-opacity: 0.3;
font-size:12px;
stroke:#aaa;
/*stroke-opacity: 0.3;*/
font-size:10px;
font-family:arial;
/*font-weight:normal;*/
font-weight:normal;
}
@@ -730,17 +763,6 @@ text.shadow {
opacity: 0.9;
}
.line1 {
stroke: steelblue;
stroke-width: 2;
fill: none;
}
.line2 {
stroke: #eee;
stroke-width: 2;
fill: none;
}
.axis path,
.axis line {