chart beteligte

This commit is contained in:
Walter Hupfeld
2023-10-10 12:22:16 +02:00
parent b0de883339
commit 88d8ca75a3
2 changed files with 51 additions and 1 deletions

View File

@@ -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;
}