chart beteligte
This commit is contained in:
@@ -62,3 +62,13 @@ function get_series($arrData,$arrBezeichnung,$strIndex1,$strIndex2="anz"){
|
||||
return $result;
|
||||
}
|
||||
|
||||
function get_series_beteiligte($arrData,$arrBezeichnung){
|
||||
$result="[";
|
||||
foreach ($arrData as $key => $numCount) {
|
||||
if ($key!="rad") { // Fahrräder sind immer beteiligt.
|
||||
$result .= "{name: '".$arrBezeichnung[$key]."', y: ".$numCount."},"; }
|
||||
}
|
||||
$result.="]";
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user