Skip to content

Commit f49f31a

Browse files
committed
Axes panel visibility issues
1 parent 3830e88 commit f49f31a

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/default_panels/StyleAxesPanel.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ class StyleAxesPanel extends Component {
6666
<AxesFold
6767
name={_('Layout')}
6868
axisFilter={axis =>
69-
!axis._name.includes('radial') && !axis._name.includes('angular')
69+
!(
70+
axis._name.includes('radial') ||
71+
axis._name.includes('angular') ||
72+
axis._subplot.includes('ternary')
73+
)
7074
}
7175
>
7276
<PlotlySection name={_('Boundaries')} attr="domain[0]">
@@ -128,6 +132,15 @@ class StyleAxesPanel extends Component {
128132
]}
129133
clearable={false}
130134
/>
135+
<PlotlySection name={_('Zoom Interactivity')} attr="fixedrange">
136+
<Radio
137+
attr="fixedrange"
138+
options={[
139+
{label: _('Enable'), value: false},
140+
{label: _('Disable'), value: true},
141+
]}
142+
/>
143+
</PlotlySection>
131144
</AxesFold>
132145

133146
<AxesFold name={_('Lines')}>
@@ -480,25 +493,12 @@ class StyleAxesPanel extends Component {
480493
</PlotlySection>
481494
</AxesFold>
482495

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-
498496
<AxesFold
499497
name={_('Hover Projections')}
500498
axisFilter={axis =>
501-
!axis._name.includes('angular') && !axis._name.includes('radial')
499+
!axis._name.includes('angular') &&
500+
!axis._name.includes('radial') &&
501+
axis._subplot.includes('cartesian')
502502
}
503503
>
504504
<Radio

0 commit comments

Comments
 (0)