Skip to content

Commit f36c296

Browse files
nicolaskruchtenVeraZab
authored andcommitted
multicat-axes
1 parent 7c6a300 commit f36c296

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/default_panels/StyleAxesPanel.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class StyleAxesPanel extends Component {
4848
{label: _('Log'), value: 'log'},
4949
{label: _('Date'), value: 'date'},
5050
{label: _('Categorical'), value: 'category'},
51+
{label: _('Multicategorical'), value: 'multicategory'},
5152
]}
5253
/>
5354
<Radio
@@ -291,6 +292,19 @@ class StyleAxesPanel extends Component {
291292
</PlotlySection>
292293
</AxesFold>
293294

295+
<AxesFold name={_('Multicategory Dividers')}>
296+
<PlotlySection name={_('Dividers')} attr="showdividers">
297+
<VisibilitySelect
298+
attr="showdividers"
299+
options={[{label: _('Show'), value: true}, {label: _('Hide'), value: false}]}
300+
showOn={true}
301+
>
302+
<Numeric label={_('Width')} attr="dividerwidth" units="px" />
303+
<ColorPicker label={_('Color')} attr="dividercolor" />
304+
</VisibilitySelect>
305+
</PlotlySection>
306+
</AxesFold>
307+
294308
<AxesFold name={_('Range Slider')} axisFilter={axis => axis._subplot.includes('xaxis')}>
295309
<RangesliderVisible
296310
attr="rangeslider.visible"

0 commit comments

Comments
 (0)