Skip to content

Commit 7df8c2b

Browse files
committed
switch to dominant-baseline in parcoords
1 parent 7b5173a commit 7df8c2b

File tree

6 files changed

+2
-2
lines changed

6 files changed

+2
-2
lines changed

src/traces/parcoords/parcoords.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ module.exports = function(root, svg, styledData, layout, callbacks) {
636636
axisExtentTopText.enter()
637637
.append('text')
638638
.classed(c.cn.axisExtentTopText, true)
639-
.attr('alignment-baseline', 'after-edge')
639+
.attr('dominant-baseline', 'after-edge')
640640
.call(styleExtentTexts);
641641

642642
axisExtentTopText
@@ -659,7 +659,7 @@ module.exports = function(root, svg, styledData, layout, callbacks) {
659659
axisExtentBottomText.enter()
660660
.append('text')
661661
.classed(c.cn.axisExtentBottomText, true)
662-
.attr('alignment-baseline', 'before-edge')
662+
.attr('dominant-baseline', 'hanging')
663663
.call(styleExtentTexts);
664664

665665
axisExtentBottomText
61 Bytes
Loading
-4 Bytes
Loading
13 Bytes
Loading
-2 Bytes
Loading
31 Bytes
Loading

0 commit comments

Comments
 (0)