Author:   Lars Michelsen <[email protected]>
Date:     Thu Jun  9 22:26:23 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Jun  9 22:26:23 2011 +0200

Labels of lines with line_type=14 have more offset now to look better when 
using horizontal lines

---

 share/frontend/nagvis-js/js/lines.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/frontend/nagvis-js/js/lines.js 
b/share/frontend/nagvis-js/js/lines.js
index 68f3c72..0c35096 100644
--- a/share/frontend/nagvis-js/js/lines.js
+++ b/share/frontend/nagvis-js/js/lines.js
@@ -141,7 +141,7 @@ function drawLabel(objectId, num, lineType, lx, ly, z, 
perfdataA, perfdataB) {
         if(oLinkContainer)
             oLinkContainer.appendChild(drawNagVisTextbox(objectId+'-link'+num, 
'box', '#ffffff', '#000000', (lx-labelShift), (ly-10), z, 'auto', 'auto', '<b>' 
+ perfdataA + '</b>'));
     } else if(lineType == '14') {
-        var label = drawNagVisTextbox(objectId+'-link'+num, 'box', '#ffffff', 
'#000000', (lx-labelShift), (ly-20), z, 'auto', 'auto', '<b>' + perfdataA + 
'</b>');
+        var label = drawNagVisTextbox(objectId+'-link'+num, 'box', '#ffffff', 
'#000000', (lx-labelShift), (ly-30), z, 'auto', 'auto', '<b>' + perfdataA + 
'</b>');
         if(oLinkContainer)
             oLinkContainer.appendChild(label);
         labelShift = getLabelShift(perfdataB);


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to