summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-08-08 00:22:11 +0100
committerRichard Wall <richard@largo>2011-08-08 00:22:11 +0100
commitf5a41be6416d67d4136ff42040380f88e9f6f945 (patch)
treeb44977929d44f473f05a9f9dab393cc90750b174
parent0cf0e24e5239f6e973419f3d7b82ee62f7db343d (diff)
shift the yaxis label to the left
-rw-r--r--jarmon/jarmon.js8
1 files 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 = $('<div>')
.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);