From f5a41be6416d67d4136ff42040380f88e9f6f945 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Mon, 8 Aug 2011 00:22:11 +0100 Subject: shift the yaxis label to the left --- jarmon/jarmon.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 4299145..78ff7c1 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -813,10 +813,10 @@ jarmon.Chart.prototype.draw = function() { var yaxisUnitLabel = $('
') .text(self.siPrefix + unit) - .css({width: '100px', - position: 'absolute', - top: '80px', - left: '-90px', + .css({'width': '100px', + 'position': 'absolute', + 'top': '80px', + 'left': '-120px', 'text-align': 'right'}); self.template.find('.chart').append(yaxisUnitLabel); -- cgit v1.2.3