projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d7c1b
)
add a (non-breaking) space between series name and value in the legend (Issue 307)
author
Dan Vanderkam
<danvdk@gmail.com>
Fri, 8 Feb 2013 20:41:01 +0000
(15:41 -0500)
committer
Dan Vanderkam
<danvdk@gmail.com>
Fri, 8 Feb 2013 20:41:01 +0000
(15:41 -0500)
plugins/legend.js
patch
|
blob
|
blame
|
history
diff --git
a/plugins/legend.js
b/plugins/legend.js
index
35f30b0
..
7406f82
100644
(file)
--- a/
plugins/legend.js
+++ b/
plugins/legend.js
@@
-245,7
+245,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 + ";'>" +
- pt.name + "</span></b>:" + yval + "</span>";
+ pt.name + "</span></b>:
" + yval + "</span>";
}
return html;
};