mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
svg.js: fix displaying plot values (Forum #114602)
git-svn-id: https://svn.fhem.de/fhem/trunk@22891 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
86713a4534
commit
a8ecefe40d
@ -290,3 +290,5 @@ body.commandref div#menu { top:15px; left:40px; }
|
||||
body.commandref div#menu a { margin-left:20px; }
|
||||
body.commandref div#menu br { display:none; }
|
||||
body.commandref div#menu h3 { display:none; }
|
||||
|
||||
.SVGplot { position:relative;}
|
||||
|
@ -355,12 +355,7 @@ sv_menu(evt, embed)
|
||||
}
|
||||
|
||||
$(par.circle).attr("cx", xRaw).attr("cy", yRaw);
|
||||
var yd = Math.floor(yRaw / 20)*20;
|
||||
|
||||
if(embed)
|
||||
yd += embedOffsetY-90;
|
||||
else
|
||||
yd += $(svg).offset().top-90;
|
||||
var yd = Math.floor(yRaw / 20)*20 - 50;
|
||||
|
||||
$(par.div).html(ts+" "+y)
|
||||
.css({ left:xRaw-20, top:yd });
|
||||
|
Loading…
Reference in New Issue
Block a user