added note to include more meaningful labels
parent
eaa1fe8fcd
commit
6cde55068f
1
draw.php
1
draw.php
|
|
@ -254,6 +254,7 @@ function generateChart($today,$mode,$hours=0,$dateInput){
|
||||||
}
|
}
|
||||||
foreach($datas as $key=>$dataset){
|
foreach($datas as $key=>$dataset){
|
||||||
$values=prepareData($dataset,$div,$selectionStart,$selectionEnd,$chartdistance);
|
$values=prepareData($dataset,$div,$selectionStart,$selectionEnd,$chartdistance);
|
||||||
|
//TODO: replace $type.($key+1) with actual name
|
||||||
$myData->addPoints($values,$type.($key+1));
|
$myData->addPoints($values,$type.($key+1));
|
||||||
#file_put_contents('val1',var_export($values,true));
|
#file_put_contents('val1',var_export($values,true));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue