Skip to content

Commit 4c4b7f9

Browse files
committed
fix
1 parent 95891a6 commit 4c4b7f9

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

src/default_panels/StyleAxesPanel.js

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ class StyleAxesPanel extends Component {
6666
<AxesFold
6767
name={_('Layout')}
6868
axisFilter={axis =>
69-
!axis._name.includes('radial') && !axis._name.includes('angular')
69+
!(
70+
axis._subplot.includes('polar') ||
71+
axis._subplot.includes('ternary')
72+
)
7073
}
7174
>
7275
<PlotlySection name={_('Boundaries')} attr="domain[0]">
@@ -119,6 +122,15 @@ class StyleAxesPanel extends Component {
119122
<AxesRange label={_('Min')} attr="range[0]" />
120123
<AxesRange label={_('Max')} attr="range[1]" />
121124
</TraceTypeSection>
125+
<PlotlySection name={_('Zoom Interactivity')} attr="fixedrange">
126+
<Radio
127+
attr="fixedrange"
128+
options={[
129+
{label: _('Enable'), value: false},
130+
{label: _('Disable'), value: true},
131+
]}
132+
/>
133+
</PlotlySection>
122134
<Dropdown
123135
label={_('Direction')}
124136
attr="direction"
@@ -480,21 +492,6 @@ class StyleAxesPanel extends Component {
480492
</PlotlySection>
481493
</AxesFold>
482494

483-
<AxesFold
484-
name={_('Zoom Interactivity')}
485-
axisFilter={axis =>
486-
!axis._name.includes('angular') && !axis._name.includes('radial')
487-
}
488-
>
489-
<Radio
490-
attr="fixedrange"
491-
options={[
492-
{label: _('Enable'), value: false},
493-
{label: _('Disable'), value: true},
494-
]}
495-
/>
496-
</AxesFold>
497-
498495
<AxesFold
499496
name={_('Hover Projections')}
500497
axisFilter={axis =>

0 commit comments

Comments
 (0)