Skip to content

Commit

Permalink
stacking group only for scatter + modified percy test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmt0 committed Sep 14, 2018
1 parent 12f3fb4 commit 4804b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/percy/panelTest.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"sizesrc": "x1",
"sizemode": "diameter"
},
"fill": "tozerox",
"stackgroup": 1,
"mode": "lines+markers+text",
"line": {
"dash": "solid",
Expand Down
4 changes: 2 additions & 2 deletions src/default_panels/StyleTracesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
<ContourNumeric label={_('Min Contour')} attr="contours.start" />
<ContourNumeric label={_('Max Contour')} attr="contours.end" />
</PlotlySection>
<PlotlySection name={_('Stacking')}>
<TraceTypeSection name={_('Stacking')} traceTypes={['scatter']} mode="trace">
<GroupCreator label={_('Group')} prefix={_('Stack')} attr="stackgroup" />
<Radio
label={_('Gaps')}
Expand All @@ -379,7 +379,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
{label: _('Percent'), value: 'percent'},
]}
/>
</PlotlySection>
</TraceTypeSection>
<TraceTypeSection
name={_('Lines')}
traceTypes={[
Expand Down

0 comments on commit 4804b0b

Please sign in to comment.