Skip to content

Commit 10e1188

Browse files
committed
try this
1 parent 64917ba commit 10e1188

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2915,12 +2915,11 @@ axes.drawGrid = function(gd, ax, opts) {
29152915
.classed('crisp', opts.crisp !== false);
29162916

29172917
ax._gw = Drawing.crispRound(gd, ax.gridwidth, 1);
2918-
ax._gd = Drawing.dashStyle(ax.griddash, ax.gridwidth);
29192918

29202919
grid.attr('transform', opts.transFn)
29212920
.attr('d', opts.path)
29222921
.call(Color.stroke, ax.gridcolor || '#ddd')
2923-
.style('stroke-dasharray', ax._gd)
2922+
.style('stroke-dasharray', Drawing.dashStyle(ax.griddash, ax.gridwidth))
29242923
.style('stroke-width', ax._gw + 'px')
29252924
.style('display', null); // visible
29262925

0 commit comments

Comments
 (0)