Skip to content

Commit 7c2701a

Browse files
nicolaskruchtenVeraZab
authored andcommitted
legend.valign
1 parent 0831190 commit 7c2701a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/default_panels/StyleLegendPanel.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ const StyleLegendPanel = (props, {localize: _}) => (
5555
]}
5656
/>
5757
<Numeric label={_('Position')} showSlider step={0.02} attr="legend.y" />
58+
<Dropdown
59+
label={_('Text Alignment')}
60+
clearable={false}
61+
attr="legend.valign"
62+
options={[
63+
{label: _('Top'), value: 'top'},
64+
{label: _('Middle'), value: 'middle'},
65+
{label: _('Bottom'), value: 'bottom'},
66+
]}
67+
/>
5868
</PlotlySection>
5969
<PlotlySection name={_('Orientation')}>
6070
<Radio

0 commit comments

Comments
 (0)