projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6a3c2
)
Replace ' ' with ' ', so that the legend works in XHTML pages as well
author
yankee
<yzeugs@cipher-code.de>
Wed, 20 Aug 2014 14:09:10 +0000
(16:09 +0200)
committer
Dan Vanderkam
<danvdk@gmail.com>
Wed, 22 Oct 2014 02:31:06 +0000
(22:31 -0400)
plugins/legend.js
patch
|
blob
|
blame
|
history
diff --git
a/plugins/legend.js
b/plugins/legend.js
index
2ff9398
..
fb93b41
100644
(file)
--- a/
plugins/legend.js
+++ b/
plugins/legend.js
@@
-249,7
+249,7
@@
generateLegendHTML = function(g, x, sel_points, oneEmWidth) {
// TODO(danvk): use a template string here and make it an attribute.
html += "<span" + cls + ">" + " <b><span style='color: " + series.color + ";'>" +
- escapeHTML(pt.name) + "</span></b>:&
nbsp
;" + yval + "</span>";
+ escapeHTML(pt.name) + "</span></b>:&
#160
;" + yval + "</span>";
}
return html;
};