* Resolve issue#629.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php js::set('type', $type);?>
|
||||
<?php $style = isonlybody() ? 'style="padding-top: 0px;"' : '';?>
|
||||
<div id='mainContent' class="main-row" <?php echo $style;?>>
|
||||
<div class="col-8 main-col">
|
||||
@@ -321,6 +322,19 @@ $(function()
|
||||
}]
|
||||
};
|
||||
|
||||
var delaySets =
|
||||
{
|
||||
label: "<?php echo $lang->execution->charts->burn->graph->delay;?>",
|
||||
color: 'red',
|
||||
pointStrokeColor: 'red',
|
||||
pointHighlightStroke: 'red',
|
||||
pointColor: 'red',
|
||||
fillColor: 'rgba(0,106,241, .07)',
|
||||
pointHighlightFill: '#fff',
|
||||
data: <?php echo isset($chartData['delayLine']) ? $chartData['delayLine'] : '[]';?>
|
||||
}
|
||||
if(type.match('withdelay')) data.datasets.push(delaySets);
|
||||
|
||||
var burnChart = $("#burnCanvas").lineChart(data,
|
||||
{
|
||||
pointDotStrokeWidth: 2,
|
||||
|
||||
Reference in New Issue
Block a user