Skip to content

Commit 77193ec

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

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

src/default_panels/StyleTracesPanel.js

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -431,23 +431,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
431431
]}
432432
/>
433433
</TraceTypeSection>
434-
<TraceTypeSection
435-
name={_('Lines')}
436-
traceTypes={[
437-
'scatter',
438-
'contour',
439-
'scatterternary',
440-
'scatterpolar',
441-
'scatterpolargl',
442-
'scatter3d',
443-
'scattergl',
444-
'scattergeo',
445-
'scattermapbox',
446-
'box',
447-
'violin',
448-
]}
449-
mode="trace"
450-
>
434+
<PlotlySection name={_('Lines')} mode="trace">
451435
<Numeric label={_('Width')} attr="line.width" />
452436
<MultiColorPicker label={_('Color')} attr="line.color" />
453437
<Radio
@@ -464,7 +448,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
464448
attr="connectgaps"
465449
options={[{label: _('Connect'), value: true}, {label: _('Blank'), value: false}]}
466450
/>
467-
</TraceTypeSection>
451+
</PlotlySection>
468452
<PlotlySection name={_('Filled Area')}>
469453
<FillDropdown attr="fill" label={_('Fill to')} />
470454
<MultiColorPicker label={_('Color')} attr="fillcolor" />

0 commit comments

Comments
 (0)