ItEr37S14CUVistaRecursosTempoEmpresaItEr36S16: Fixes and small grafical improvements for planner charts

This commit is contained in:
Lorenzo Tilve 2009-12-06 20:45:08 +01:00 committed by Javier Moran Rua
parent e91aec733a
commit 19a479e7ed
6 changed files with 23 additions and 11 deletions

View file

@ -68,7 +68,7 @@ planner = self;
</center>
</borderlayout>
</center>
<south height="150px" collapsible="true" title="Graphics"
<south height="200px" collapsible="true" title="Graphics"
sclass="scheduling-graphics">
<div id="insertionPointChart" />
</south>

View file

@ -398,6 +398,9 @@ public abstract class ChartFiller implements IChartFiller {
timeGeometry.setMin(Integer.valueOf(min));
timeGeometry.setMax(Integer.valueOf(max));
timeGeometry.setAxisLabelsPlacement("bottom");
// Remove year separators
timeGeometry.setGridColor("#FFFFFF");
return timeGeometry;
}

View file

@ -294,7 +294,7 @@ public abstract class EarnedValueChartFiller extends ChartFiller {
}
chart.setWidth(size + "px");
chart.setHeight("100px");
chart.setHeight("150px");
}
protected void addZeroBeforeTheFirstValue(

View file

@ -160,6 +160,7 @@ public abstract class CompanyPlanningModel implements ICompanyPlanningModel {
Tabbox chartComponent = new Tabbox();
chartComponent.setOrient("vertical");
chartComponent.setHeight("200px");
appendTabs(chartComponent);
configuration.setChartComponent(chartComponent);
@ -189,7 +190,7 @@ public abstract class CompanyPlanningModel implements ICompanyPlanningModel {
chartTabs.appendChild(new Tab(_("Indicators")));
chartComponent.appendChild(chartTabs);
chartTabs.setWidth("100px");
chartTabs.setWidth("124px");
}
private void appendTabpanels(Tabbox chartComponent, Timeplot loadChart,
@ -615,7 +616,7 @@ public abstract class CompanyPlanningModel implements ICompanyPlanningModel {
appendPlotinfo(chart, plotInfoOverload, valueGeometry, timeGeometry);
chart.setWidth(size + "px");
chart.setHeight("100px");
chart.setHeight("150px");
}
private SortedMap<LocalDate, BigDecimal> getLoad(Date start, Date finish) {

View file

@ -176,6 +176,7 @@ public abstract class OrderPlanningModel implements IOrderPlanningModel {
configuration.setEditTaskCommand(buildEditTaskCommand(editTaskController));
Tabbox chartComponent = new Tabbox();
chartComponent.setOrient("vertical");
chartComponent.setHeight("200px");
appendTabs(chartComponent);
configuration.setChartComponent(chartComponent);
@ -723,7 +724,7 @@ public abstract class OrderPlanningModel implements IOrderPlanningModel {
timeGeometry);
chart.setWidth(size + "px");
chart.setHeight("100px");
chart.setHeight("150px");
}
private void groupByWeekMaps() {

View file

@ -951,15 +951,11 @@ tr.z-tree-row-seld, tr.z-list-item-seld,
}
.earned-parameter-column {
width: 70px;
width: 62px;
}
.z-panel-header {
/* color: #0F3B82; */
}
.z-panel-body {
padding: 10px;
/* border-color: #0F3B82; */
padding: 10px;
}
.perspectives-column {
@ -985,3 +981,14 @@ padding: 10px;
.allocation-criterion-selector span.z-dottree-line {
min-height:14px;
}
.timeplot-copyright {
display: none;
}
.timeplot-grid-label {
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size: 10px;
z-index: 2;
color: transparent;
}