This commit is contained in:
Walter Hupfeld 2023-10-13 11:01:50 +02:00
parent fbcafb1d23
commit 079c0b53ff
4 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@
<div class="container" style="margin-top:4em;">
<h1>Fahrradunfälle in <?=$strName?></h2>
<p>Einwohnerzahl: <?=$numPopulation?>&nbsp;&nbsp; Fläche: <?=$numFlaeche?> km<sup>2</sup></p>
<p>Einwohnerzahl: <?=number_format($numPopulation,0,",",".")?>&nbsp;&nbsp; Fläche: <?=number_format($numFlaeche,2,",",".")?> km<sup>2</sup></p>
<!-- Unfallverlauf -->
<div class="row">

View File

@ -168,9 +168,9 @@ Highcharts.chart('c_unfallverlauf', {
},
legend: {
align: 'left',
x: 400,
x: 420,
verticalAlign: 'bottom',
y: 30,
y: -45,
floating: true,
backgroundColor:
Highcharts.defaultOptions.legend.backgroundColor || 'white',

View File

@ -61,7 +61,7 @@
<div class="container" style="margin-top:4em;">
<h1>Fahrradunfälle in <?=$strName?></h2>
<p>Einwohnerzahl: <?=$numPopulation?>&nbsp;&nbsp; Fläche: <?=$numFlaeche?> km<sup>2</sup></p>
<p>Einwohnerzahl: <?=number_format($numPopulation,0,",",".")?>&nbsp;&nbsp; Fläche: <?=number_format($numFlaeche,2,",",".")?> km<sup>2</sup></p>
<p><a class='btn btn-primary' href="../index.php?d=<?=$strDistrict?>">Zur Unfallkarte</a></p>
<!-- Unfallverlauf -->
<div class="row">

View File

@ -48,7 +48,7 @@
<div class="container" style="margin-top:4em;">
<h1>Fahrradunfälle in <?=$strName?></h2>
<p>Einwohnerzahl: <?=$numPopulation?>&nbsp;&nbsp; Fläche: <?=$numFlaeche?> km<sup>2</sup></p>
<p>Einwohnerzahl: <?=number_format($numPopulation,0,",",".")?>&nbsp;&nbsp; Fläche: <?=number_format($numFlaeche,2,",",".")?> km<sup>2</sup></p>
<!-- Unfallverlauf -->
<div class="row">
@ -84,7 +84,7 @@
</table>
<table class="table table-sm">
<tr><th>Quote pro Tausend Einwohner</th><td><?= round($numGesamt/$numPopulation*1000,2) ?></td></tr>
<tr><th>Quote pro Fläche</th><td><?= round($numGesamt/$numFlaeche,1) ?> /km<sup>2</sup></td></tr>
<tr><th>Quote pro Fläche</th><td><?= number_format($numGesamt/$numFlaeche,2,",",".") ?> /km<sup>2</sup></td></tr>
</table>
</div>
<div class="col-7">