Skip to content

Commit 86204a6

Browse files
committed
get polar axis updates to work
1 parent cbf19c1 commit 86204a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plots/cartesian/axes.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
19051905
var axLetter = axid.charAt(0),
19061906
counterLetter = axes.counterLetter(axid),
19071907
vals = axes.calcTicks(ax),
1908-
datafn = function(d) { return [d.text, d.x, ax.mirror].join('_'); },
1908+
datafn = function(d) { return [d.text, d.x, ax.mirror, d.font, d.fontSize, d.fontColor].join('_'); },
19091909
tcls = axid + 'tick',
19101910
gcls = axid + 'grid',
19111911
zcls = axid + 'zl',
@@ -2395,6 +2395,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
23952395
grid.attr('transform', transfn)
23962396
.call(Color.stroke, ax.gridcolor || '#ddd')
23972397
.style('stroke-width', gridWidth + 'px');
2398+
if(typeof gridpath === 'function') grid.attr('d', gridpath);
23982399
grid.exit().remove();
23992400

24002401
// zero line

0 commit comments

Comments
 (0)