Skip to content

Commit aa2be70

Browse files
committed
Enable line attr for more trace types
1 parent 7ba258a commit aa2be70

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/default_panels/StyleTracesPanel.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,20 +431,27 @@ const StyleTracesPanel = (props, {localize: _}) => (
431431
]}
432432
/>
433433
</TraceTypeSection>
434-
<TraceTypeSection
434+
<PlotlySection
435435
name={_('Lines')}
436436
traceTypes={[
437437
'scatter',
438438
'contour',
439439
'scatterternary',
440440
'scatterpolar',
441441
'scatterpolargl',
442+
'box',
443+
'violin',
442444
'scatter3d',
443445
'scattergl',
444446
'scattergeo',
447+
'parcoords',
448+
'parcats',
445449
'scattermapbox',
446-
'box',
447-
'violin',
450+
'scattercarpet',
451+
'contourcarpet',
452+
'ohlc',
453+
'candlestick',
454+
'histogram2dcontour',
448455
]}
449456
mode="trace"
450457
>
@@ -464,7 +471,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
464471
attr="connectgaps"
465472
options={[{label: _('Connect'), value: true}, {label: _('Blank'), value: false}]}
466473
/>
467-
</TraceTypeSection>
474+
</PlotlySection>
468475
<PlotlySection name={_('Filled Area')}>
469476
<FillDropdown attr="fill" label={_('Fill to')} />
470477
<MultiColorPicker label={_('Color')} attr="fillcolor" />

0 commit comments

Comments
 (0)