mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-02 00:48:53 +00:00
98_SVG.pm: fix first X-label position for enPlotNow (Forum #129182)
git-svn-id: https://svn.fhem.de/fhem/trunk@26456 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e7340273b0
commit
627f5278a8
@ -1779,7 +1779,7 @@ SVG_render($$$$$$$$$$)
|
||||
$off1 = int($x+($i-$fromsec)*$tmul);
|
||||
}
|
||||
$t = SVG_fmtTime($tag, $i);
|
||||
if($off1 == $x) {
|
||||
if($off1 < $x+10) { # first text, too close to the date field
|
||||
SVG_pO "<text x=\"$off1\" y=\"$off2\" class=\"ylabel\" " .
|
||||
"text-anchor=\"left\">$t</text>";
|
||||
} elsif ($off1 < $x+$w-8) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user