Skip to content

Commit d3004c1

Browse files
committed
use hexagon2 for path symbols
1 parent f0c6b72 commit d3004c1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/legend/draw.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ function drawOne(gd, opts) {
101101
marker: {
102102
line: shape.line,
103103
color: shape.fillcolor,
104-
symbol: shape.type === 'rect' ? 'square' : 'circle',
105-
size: 12
104+
size: 12,
105+
symbol:
106+
shape.type === 'rect' ? 'square' :
107+
shape.type === 'circle' ? 'circle' :
108+
// case of path
109+
'hexagon2'
106110
},
107111
};
108112

Loading

0 commit comments

Comments
 (0)