Skip to content

Commit b3812f8

Browse files
committed
add showwhiskers to candlestick
1 parent 4e4b486 commit b3812f8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/traces/candlestick/attributes.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ module.exports = {
5151
hovertext: OHLCattrs.hovertext,
5252

5353
whiskerwidth: extendFlat({}, boxAttrs.whiskerwidth, { dflt: 0 }),
54+
showwhiskers: boxAttrs.showwhiskers,
55+
sizemode: boxAttrs.sizemode,
56+
5457

5558
hoverlabel: OHLCattrs.hoverlabel,
5659
};

src/traces/candlestick/defaults.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
2929
coerce('text');
3030
coerce('hovertext');
3131
coerce('whiskerwidth');
32+
coerce('sizemode');
33+
coerce('showwhiskers');
3234

3335
layout._requestRangeslider[traceOut.xaxis] = true;
3436
};

0 commit comments

Comments
 (0)