* Adjust the display of the burn chart.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.main-content > h2 {font-size: 16px;}
|
||||
#burnWrapper {max-width: 1200px; margin: 0 auto; padding: 25px 100px 10px; position: relative;}
|
||||
#burnYUnit {position: absolute; color: #CBD0DB; top: 0; left: 90px;}
|
||||
#burnXUnit {position: absolute; color: #CBD0DB; bottom: 20px; right: 60px;}
|
||||
#burnLegend {position: absolute; right: 0; width: 80px; height: 60px; top: 50%; margin-top: -30px; line-height: 30px; color: #838A9D; font-size: 12px;}
|
||||
#burnLegend > div {position: relative; padding-left: 30px;}
|
||||
#burnLegend > div > .barline {position: absolute; width: 20px; left: 0; top: 13px; height: 3px; background: #EEEEEE;}
|
||||
|
||||
@@ -20,8 +20,8 @@ function downloadBurn()
|
||||
/* Add watermark */
|
||||
var canvas = document.querySelector('#cloneCanvas #burnCanvas');
|
||||
var cans = canvas.getContext('2d');
|
||||
canvas.height = 525;
|
||||
canvas.width = 1050;
|
||||
canvas.height = canvas.height + 25;
|
||||
canvas.width = canvas.width + 50;
|
||||
|
||||
// Set background color to white
|
||||
cans.fillStyle = '#fff';
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<canvas id="burnCanvas"></canvas>
|
||||
</div>
|
||||
<div id="burnYUnit"><?php echo $burnBy == 'storyPoint' ? "({$lang->project->storyPoint})" : "({$lang->project->workHour})";?></div>
|
||||
<div id="burnXUnit"><?php echo $lang->project->burnXUnit;?></div>
|
||||
<div id="burnLegend">
|
||||
<div class="line-ref"><div class='barline'></div><?php echo $lang->project->charts->burn->graph->reference;?></div>
|
||||
<div class="line-real"><div class='barline bg-primary'></div><?php echo $lang->project->charts->burn->graph->actuality;?></div>
|
||||
|
||||
Reference in New Issue
Block a user