projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aade5c6
)
Allow unescaped HTML in labels
author
Matt Miller
<mattm184@gmail.com>
Sat, 14 Jan 2012 00:14:40 +0000
(16:14 -0800)
committer
Matt Miller
<mattm184@gmail.com>
Sat, 14 Jan 2012 00:14:40 +0000
(16:14 -0800)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
5e6766d
..
a62616a
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-311,7
+311,7
@@
DygraphCanvasRenderer.prototype._renderAxis = function() {
inner_div.className = 'dygraph-axis-label' +
' dygraph-axis-label-' + axis +
(prec_axis ? ' dygraph-axis-label-' + prec_axis : '');
- inner_div.
appendChild(document.createTextNode(txt))
;
+ inner_div.
innerHTML=txt
;
div.appendChild(inner_div);
return div;
};