We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ba7ee commit 27b4be3Copy full SHA for 27b4be3
src/components/legend/draw.js
@@ -575,7 +575,7 @@ function computeTextDimensions(g, gd) {
575
Drawing.setTranslate(mathjaxGroup, 0, (height / 4));
576
}
577
else {
578
- var text = g.selectAll('.legendtext');
+ var text = g.select('.legendtext');
579
var textLines = svgTextUtils.lineCount(text);
580
var textNode = text.node();
581
0 commit comments