Skip to content

Commit f704459

Browse files
committed
Notches
1 parent 9e641c8 commit f704459

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

dev/percy/box.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
3
1212
],
1313
"xsrc": "x1",
14-
"boxmean": true
14+
"boxmean": true,
15+
"notched": true
1516
}
1617
],
1718
"layout": {

src/default_panels/StyleTracesPanel.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,13 @@ const StyleTracesPanel = (props, {localize: _}) => (
436436
<FillDropdown attr="fill" label={_('Fill to')} />
437437
<MultiColorPicker label={_('Color')} attr="fillcolor" />
438438
</PlotlySection>
439+
<PlotlySection name={_('Notches')}>
440+
<Radio
441+
attr="notched"
442+
options={[{label: _('Show'), value: true}, {label: _('Hide'), value: false}]}
443+
/>
444+
<Numeric label={_('Width')} attr="notchwidth" min={0} max={0.5} step={0.1} />
445+
</PlotlySection>
439446
<PlotlySection name={_('Text Attributes')}>
440447
<TextInfo attr="textinfo" />
441448
</PlotlySection>

0 commit comments

Comments
 (0)