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); $unit=getUnit($type);
$stat=$timePoints=array(); $stat=$timePoints=array();
if($alt===false){ if($alt===false){
if(is_array($datas[$num])){ $stat=dataStat($datas[$num],$type);
$stat=dataStat($datas[$num],$type); $timePoints=outLinedLogPoints($datas[$num]);
$timePoints=outLinedLogPoints($datas[$num]);
}else{
$printValues=false;
}
}else{ }else{
$stat=$alt[$num]; $stat=$alt[$num];
$timePoints=$outlineAlt[$num]; $timePoints=$outlineAlt[$num];