-
-
Notifications
You must be signed in to change notification settings - Fork 114
legendgroup and other legend attrs #739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0152938 to
2b627f7
Compare
| import Button from '../widgets/Button'; | ||
| import {PlusIcon} from 'plotly-icons'; | ||
|
|
||
| class UnconnectedLegendgroupCreator extends Component { |
There was a problem hiding this comment.
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')}> |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
|
💃 thanks! |
closes #737