Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 44e1355

Browse files
committed
roll back candelstick and violin changes
simplify sizemode usage
1 parent 3a3b46c commit 44e1355

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

src/traces/candlestick/attributes.js

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

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

5855
hoverlabel: OHLCattrs.hoverlabel,
5956
};

src/traces/candlestick/defaults.js

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

3533
layout._requestRangeslider[traceOut.xaxis] = true;
3634
};

src/traces/violin/attributes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
name: extendFlat({}, boxAttrs.name, {
1717
description: [
1818
'Sets the trace name.',
19-
'The trace name appear as the legend item and on hover.',
19+
'The trace name appears as the legend item and on hover.',
2020
'For violin traces, the name will also be used for the position',
2121
'coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are',
2222
'missing and the position axis is categorical.',
@@ -155,7 +155,6 @@ module.exports = {
155155
hovertemplate: boxAttrs.hovertemplate,
156156

157157
quartilemethod: boxAttrs.quartilemethod,
158-
showwhiskers: boxAttrs.showwhiskers,
159158

160159
box: {
161160
visible: {

src/traces/violin/defaults.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
4949
var meanLineVisible = coerce('meanline.visible', Boolean(meanLineColor || meanLineWidth));
5050
if(!meanLineVisible) traceOut.meanline = {visible: false};
5151

52-
coerce('showwhiskers');
5352
coerce('quartilemethod');
5453
};

0 commit comments

Comments
 (0)