mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_SVG.pm: fix WARNING introduces yesterday (Forum #118907)
git-svn-id: https://svn.fhem.de/fhem/trunk@23838 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
262d545e03
commit
a9daa7d568
@ -1619,6 +1619,7 @@ SVG_render($$$$$$$$$$)
|
||||
# Compute & draw vertical tics, grid and labels
|
||||
my $ddur = ($tosec-$fromsec)/86400;
|
||||
my ($first_tag, $tag, $step, $tstep, $aligntext, $aligntics);
|
||||
$aligntext = $aligntics = 0;
|
||||
|
||||
if($ddur <= 0.05) {
|
||||
$first_tag=". 2 1"; $tag=": 3 4"; $step = 300; $tstep = 60;
|
||||
|
Loading…
x
Reference in New Issue
Block a user