Skip to content

Commit

Permalink
Standardgröße der Diagramm-Höhe auf "size":"1" festgelegt (50%)
Browse files Browse the repository at this point in the history
Standardgröße der Diagramm-Höhe auf "size":"1" festgelegt (50%)
  • Loading branch information
christian1180 committed Feb 6, 2025
1 parent e579d96 commit 2036a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/components/diagramm.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
}


echo '<canvas id="chart_'.$_GET['modalID'].'" style="position: relative; width: 100vw; height: '.( (isset($_GET['size']) and is_numeric($_GET['size'])) ? strval(30 + 20 * intval($_GET['size'])) : '100' ).'vh"></canvas>';
echo '<canvas id="chart_'.$_GET['modalID'].'" style="position: relative; width: 100vw; height: '.( (isset($_GET['size']) and is_numeric($_GET['size'])) ? strval(30 + 20 * intval($_GET['size'])) : '50' ).'vh"></canvas>';

$tCh = ($Cl + 0.5) - $Ch;
if($tCh > 0) { $Ch = $Ch + $tCh; }
Expand Down

0 comments on commit 2036a7e

Please sign in to comment.