Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandravv authored Mar 20, 2020
2 parents 9fe13be + 174c782 commit 80852fd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/main/resources/static/js/phases.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,24 +250,27 @@ function drawHeatmap(phases) {
}
});
HeatMap.updateSeries(s);
phases.forEach(function (p) {
var x = 93;
for (var i = 0; i < phases.length; i++) {
x += (180*i);
HeatMap.addXaxisAnnotation({
x: p.name,
x: x,
strokeDashArray: 0,
borderColor: 'transparent',
fillColor: 'transparent',
label: {
borderColor: '#c2c2c2',
borderWidth: 0,
text: "(" + p.from + " / " + p.to + ")",
text: "(" + phases[i].from + " / " + phases[i].to + ")",
textAnchor: 'middle',
position: 'top',
orientation: 'horizontal',
offsetX: 0,
offsetY: -15
}
});
});
x = 93;
}
}

function mode(arr) {
Expand Down

0 comments on commit 80852fd

Please sign in to comment.