Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27b4be3

Browse filesBrowse files
committed
selectAll -> select because it can only be one node
1 parent 82ba7ee commit 27b4be3
Copy full SHA for 27b4be3

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/components/legend/draw.js

Copy file name to clipboardExpand all lines: src/components/legend/draw.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ function computeTextDimensions(g, gd) {
575575
Drawing.setTranslate(mathjaxGroup, 0, (height / 4));
576576
}
577577
else {
578-
var text = g.selectAll('.legendtext');
578+
var text = g.select('.legendtext');
579579
var textLines = svgTextUtils.lineCount(text);
580580
var textNode = text.node();
581581

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.