highcharts
agp8x 2014-08-02 17:16:18 +02:00
parent 54aa5c1314
commit 4ce242a7f0
1 changed files with 2 additions and 6 deletions

View File

@ -65,12 +65,8 @@ function logStats($datas,$type,$alt=false,$outlineAlt=0,$mode=1){
$unit=getUnit($type);
$stat=$timePoints=array();
if($alt===false){
if(is_array($datas[$num])){
$stat=dataStat($datas[$num],$type);
$timePoints=outLinedLogPoints($datas[$num]);
}else{
$printValues=false;
}
$stat=dataStat($datas[$num],$type);
$timePoints=outLinedLogPoints($datas[$num]);
}else{
$stat=$alt[$num];
$timePoints=$outlineAlt[$num];