projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
88bbada
)
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
yankee
<yzeugs@cipher-code.de>
Wed, 20 Aug 2014 14:09:10 +0000
(16:09 +0200)
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 + ";'>" +
// 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;
};
}
return html;
};