parent
fa0329dd6b
commit
4bc29d84bd
|
@ -64,7 +64,7 @@ select{
|
|||
#highchartsPlot{
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
width:85%;
|
||||
width:65%;
|
||||
|
||||
}
|
||||
.centre{
|
||||
|
|
|
@ -42,7 +42,10 @@ function loadSchedulePlot() {
|
|||
x : -50
|
||||
},
|
||||
xAxis : {
|
||||
categories : [ 0 ],
|
||||
plotLines : [ {
|
||||
width : 10,
|
||||
color : '#808080'
|
||||
} ],
|
||||
min : 0,
|
||||
title : {
|
||||
text : 'Time(s)'
|
||||
|
@ -66,20 +69,16 @@ function loadSchedulePlot() {
|
|||
}
|
||||
},
|
||||
series : [ {
|
||||
data : [ 0 ]
|
||||
data : [[ 0 , 0 ]]
|
||||
} ]
|
||||
};
|
||||
var RequireLoadLength = $('input[name="RequireLoad"]').length;
|
||||
var RequireLoad = 0;
|
||||
var ExecuteRange = 0;
|
||||
for(var i = 1; i < RequireLoadLength; i++){
|
||||
RequireLoad = parseInt($('input[name="RequireLoad"]')[i].value);
|
||||
options.series[0].data.push(RequireLoad);
|
||||
}
|
||||
var ExecuteRangeLength = $('input[name="ExecuteRange"]').length;
|
||||
var ExecuteRange = 0;
|
||||
for(var i = 1; i < ExecuteRangeLength; i++){
|
||||
ExecuteRange += parseInt($('input[name="ExecuteRange"]')[i].value);
|
||||
options.xAxis.categories.push(ExecuteRange);
|
||||
options.series[0].data.push([ExecuteRange,RequireLoad]);
|
||||
}
|
||||
var chart = new Highcharts.Chart(options);
|
||||
}
|
||||
|
|
|
@ -44,6 +44,6 @@ function createRadioGroupByAttribute(items,textAttr,valueAttr,idAttr, name,conta
|
|||
}
|
||||
|
||||
function information(text){
|
||||
noty({text: text,type:'information',layout:'center'});
|
||||
noty({text: text,type:'information',layout:'center',maxVisible: 1});
|
||||
setTimeout("document.body.removeChild(noty_center_layout_container)",2000);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue