Skip to content

Commit eed5751

Browse files
committed
Add hoverlabel.align to trace panel
1 parent e0fcef0 commit eed5751

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/default_panels/StyleTracesPanel.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,16 @@ const StyleTracesPanel = (props, {localize: _}) => (
747747
<MultiColorPicker label={_('Contour Color')} attr="contour.color" />
748748
<Numeric label={_('Contour Width')} attr="contour.width" />
749749
</VisibilitySelect>
750+
<Dropdown
751+
label={_('Text Alignment')}
752+
attr="hoverlabel.align"
753+
options={[
754+
{label: _('Auto'), value: 'auto'},
755+
{label: _('Left'), value: 'left'},
756+
{label: _('Right'), value: 'right'},
757+
]}
758+
clearable={false}
759+
/>
750760
<Text label={_('Value Format')} attr="valueformat" />
751761
<Text label={_('Value Suffix')} attr="valuesuffix" />
752762
</PlotlySection>

0 commit comments

Comments
 (0)