Skip to content

Commit dfcdfdf

Browse files
committed
use .node().style.display instead of .style('display')
1 parent 9a0cdc4 commit dfcdfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,7 @@ function calcLabelLevelBbox(ax, cls, mainLinePositionShift) {
29722972
// (like in fixLabelOverlaps) instead and use Axes.getPxPosition
29732973
// together with the makeLabelFns outputs and `tickangle`
29742974
// to compute one bbox per (tick value x tick style)
2975-
if (thisLabel.style('display') !== 'none') {
2975+
if (thisLabel.node().style.display !== 'none') {
29762976
var bb = Drawing.bBox(thisLabel.node().parentNode);
29772977
top = Math.min(top, bb.top);
29782978
bottom = Math.max(bottom, bb.bottom);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy