projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add pointClickCallback
[dygraphs.git]
/
dygraph-canvas.js
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;
}
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;
if (a.hasOwnProperty('icon')) {
var img = document.createElement("img");
img.src = a.icon;