projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a685723
)
change default size
author
Dan Vanderkam
<danvdk@gmail.com>
Tue, 14 Sep 2010 00:14:10 +0000
(17:14 -0700)
committer
Dan Vanderkam
<danvdk@gmail.com>
Tue, 14 Sep 2010 00:14:10 +0000
(17:14 -0700)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
13e5fe6
..
123fa83
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-542,8
+542,8
@@
DygraphCanvasRenderer.prototype._renderAnnotations = function() {
div.className += " " + a.cssClass;
}
- var width = a.hasOwnProperty('
height') ? a.height : 20
;
- var height = a.hasOwnProperty('
width') ? a.width
: 16;
+ var width = a.hasOwnProperty('
width') ? a.width : 16
;
+ var height = a.hasOwnProperty('
height') ? a.height
: 16;
if (a.hasOwnProperty('icon')) {
var img = document.createElement("img");
img.src = a.icon;