added note to include more meaningful labels

climadigram
agp8x 2014-02-07 15:15:19 +01:00
parent eaa1fe8fcd
commit 6cde55068f
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ function generateChart($today,$mode,$hours=0,$dateInput){
}
foreach($datas as $key=>$dataset){
$values=prepareData($dataset,$div,$selectionStart,$selectionEnd,$chartdistance);
//TODO: replace $type.($key+1) with actual name
$myData->addPoints($values,$type.($key+1));
#file_put_contents('val1',var_export($values,true));
}