highchart

This commit is contained in:
Walter Hupfeld
2023-10-10 11:37:55 +02:00
parent a98f0769bc
commit 77aa04a01c
2 changed files with 59 additions and 6 deletions

View File

@@ -53,3 +53,12 @@ function get_unfallart($numYear,$strLocation){
return $arrResult;
}
function get_series($arrData,$arrBezeichnung){
$result="[";
foreach ($arrData as $row) {
$result.= "{ name: '".$arrBezeichnung[$row['UKATEGORIE']] ."', y: ".$row['anz']."},";
}
$result.="]";
return $result;
}