projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://github.com/danvk/dygraphs
[dygraphs.git]
/
plugins
/
legend.js
diff --git
a/plugins/legend.js
b/plugins/legend.js
index
6e2e555
..
68a6762
100644
(file)
--- a/
plugins/legend.js
+++ b/
plugins/legend.js
@@
-1,3
+1,9
@@
+/**
+ * @license
+ * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
+ * MIT-licensed (http://opensource.org/licenses/MIT)
+ */
+
Dygraph.Plugins.Legend = (function() {
/*
Dygraph.Plugins.Legend = (function() {
/*
@@
-61,7
+67,7
@@
legend.prototype.activate = function(g) {
"zIndex": 10,
"width": divWidth + "px",
"top": "0px",
"zIndex": 10,
"width": divWidth + "px",
"top": "0px",
- "
right": "2
px",
+ "
left": (g.size().width - divWidth - 2) + "
px",
"background": "white",
"lineHeight": "normal",
"textAlign": "left",
"background": "white",
"lineHeight": "normal",
"textAlign": "left",