projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f571565
)
updated check for empty string
author
Joshua
<jgould@broadinstitute.org>
Wed, 13 Jun 2012 01:06:29 +0000
(21:06 -0400)
committer
Joshua
<jgould@broadinstitute.org>
Wed, 13 Jun 2012 01:06:29 +0000
(21:06 -0400)
plugins/legend.js
patch
|
blob
|
blame
|
history
diff --git
a/plugins/legend.js
b/plugins/legend.js
index
9a7caf9
..
5f7ac7e
100644
(file)
--- a/
plugins/legend.js
+++ b/
plugins/legend.js
@@
-210,7
+210,7
@@
var generateLegendHTML = function(g, x, sel_points, oneEmWidth) {
var xOptView = g.optionsViewForAxis_('x');
var xvf = xOptView('valueFormatter');
html = xvf(x, xOptView, labels[0], g);
- if(html) {
+ if(html
!== ''
) {
html += ':';
}