Skip to content

Commit b0d186d

Browse files
committed
get added patten to work for funnel
1 parent 3f33829 commit b0d186d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/traces/funnel/defaults.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
4848
var markerColor = coerce('marker.color', defaultColor);
4949
coerce('marker.line.color', Color.defaultLine);
5050
coerce('marker.line.width');
51+
var patternShape = coerce('marker.pattern.shape');
52+
if(patternShape) {
53+
coerce('marker.pattern.bgcolor');
54+
coerce('marker.pattern.size');
55+
coerce('marker.pattern.solidity');
56+
}
5157

5258
var connectorVisible = coerce('connector.visible');
5359
if(connectorVisible) {

src/traces/funnel/style.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function style(gd, cd, sel) {
3131
}
3232
});
3333

34+
Drawing.pointStyle(gTrace.selectAll('path'), trace, gd);
3435
styleTextPoints(gTrace, trace, gd);
3536

3637
gTrace.selectAll('.regions').each(function() {

0 commit comments

Comments
 (0)