Display timeplot graph values when pointing over the chart

FEA: ItEr76S04BugFixing
This commit is contained in:
Lorenzo Tilve Álvaro 2012-01-10 15:56:34 +01:00
parent adaa7655f4
commit 09feeb71af
3 changed files with 22 additions and 1 deletions

View file

@ -51,7 +51,7 @@ ganttz.GanttPanel = zk.$extends(zk.Widget,{
* it's not available right now. It is queried instead. Using throttle
* to not re-query it constantly */
_getTimeplotContainer: common.Common.throttle(500, function() {
return jq('canvas.timeplot-canvas');
return jq('canvas.timeplot-canvas').parent();
}),
_initializeProperties : function(){
this._timetrackergap = jq('.timetrackergap');

View file

@ -631,6 +631,7 @@ public abstract class ChartFiller implements IChartFiller {
ValueGeometry valueGeometry, TimeGeometry timeGeometry) {
plotinfo.setValueGeometry(valueGeometry);
plotinfo.setTimeGeometry(timeGeometry);
plotinfo.setShowValues(true);
chart.appendChild(plotinfo);
}

View file

@ -1317,4 +1317,24 @@ div.z-grid-header .second_level_ tr {
.taskspanelgap #listlimitingdependencies {
top: -2px;
}
.plannergraph {
overflow: hidden;
}
.plannergraph .timeplot-valueflag,
.plannergraph .timeplot-timeflag {
font-size: 12px;
font-weight: normal;
background-color: #f7f7bf;
border: solid 1px #CCCCCC;
-moz-box-shadow: 1px 1px 3px #999;
-webkit-box-shadow: 1px 1px 3px #999;
border-radius: 3px;
}
.plannergraph .timeplot-timeflag {
opacity: 1 !important;
font-size: 12px;
}