Skip to content

Conversation

@dmt0
Copy link
Contributor

@dmt0 dmt0 commented Sep 7, 2018

closes #737

@dmt0 dmt0 requested a review from nicolaskruchten September 7, 2018 21:48
@dmt0 dmt0 force-pushed the legendgroup branch 2 times, most recently from 0152938 to 2b627f7 Compare September 7, 2018 22:02
import Button from '../widgets/Button';
import {PlusIcon} from 'plotly-icons';

class UnconnectedLegendgroupCreator extends Component {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's generalize this into a GroupCreator with a prefix attr so we can immediately reuse it for stackgroup

options={[{label: _('Show'), value: true}, {label: _('Hide'), value: false}]}
/>
<NumericFraction label={_('Trace Opacity')} attr="opacity" />
<PlotlySection name={_('Show in Legend')}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename section Legend and restore the Show in Legend label for the show/hide button.

/>
<NumericFraction label={_('Trace Opacity')} attr="opacity" />
<PlotlySection name={_('Legend')}>
<ShowInLegend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the groupcreator meant to be IN the ShowInLegend? If i set it to 'hide' I still see the groupcreator

@nicolaskruchten
Copy link
Contributor

💃 thanks!

@dmt0 dmt0 merged commit acaebc1 into master Sep 10, 2018
@dmt0 dmt0 deleted the legendgroup branch September 10, 2018 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

legendgroup widget

3 participants