diff options
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/Gantt.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/js/src/Gantt.js b/assets/js/src/Gantt.js index 44722814..380371d1 100644 --- a/assets/js/src/Gantt.js +++ b/assets/js/src/Gantt.js @@ -198,6 +198,19 @@ Gantt.prototype.addBlocks = function(slider, start) { block.data("record", this.data[i]); this.setBarColor(block, this.data[i]); + + block.append(jQuery("<div>", { + "css": { + "z-index": 0, + "position": "absolute", + "top": 0, + "bottom": 0, + "background-color": series.color.border, + "width": series.progress, + "opacity": 0.4 + } + })); + jQuery(rows[rowIdx]).append(block); rowIdx = rowIdx + 1; } |