Skip to content

Commit 39b2ee3

Browse files
committed
place <g.barlayer> below <g.scatterlayer> in polar subplot
... just like what Cartesian does
1 parent 33e1acf commit 39b2ee3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/plots/polar/polar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ proto.updateLayers = function(fullLayout, polarLayout) {
126126

127127
switch(d) {
128128
case 'frontplot':
129-
sel.append('g').classed('scatterlayer', true);
130129
// TODO add option to place in 'backplot' layer??
131130
sel.append('g').classed('barlayer', true);
131+
sel.append('g').classed('scatterlayer', true);
132132
break;
133133
case 'backplot':
134134
sel.append('g').classed('maplayer', true);
-1.99 KB
Loading

0 commit comments

Comments
 (0)