Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions src/default_panels/StyleAxesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ class StyleAxesPanel extends Component {
<AxesFold
name={_('Layout')}
axisFilter={axis =>
!axis._name.includes('radial') && !axis._name.includes('angular')
!(
axis._subplot.includes('polar') ||
axis._subplot.includes('ternary')
)
}
>
<PlotlySection name={_('Boundaries')} attr="domain[0]">
Expand Down Expand Up @@ -119,6 +122,15 @@ class StyleAxesPanel extends Component {
<AxesRange label={_('Min')} attr="range[0]" />
<AxesRange label={_('Max')} attr="range[1]" />
</TraceTypeSection>
<PlotlySection name={_('Zoom Interactivity')} attr="fixedrange">
<Radio
attr="fixedrange"
options={[
{label: _('Enable'), value: false},
{label: _('Disable'), value: true},
]}
/>
</PlotlySection>
<Dropdown
label={_('Direction')}
attr="direction"
Expand Down Expand Up @@ -480,25 +492,13 @@ class StyleAxesPanel extends Component {
</PlotlySection>
</AxesFold>

<AxesFold
name={_('Zoom Interactivity')}
axisFilter={axis =>
!axis._name.includes('angular') && !axis._name.includes('radial')
}
>
<Radio
attr="fixedrange"
options={[
{label: _('Enable'), value: false},
{label: _('Disable'), value: true},
]}
/>
</AxesFold>

<AxesFold
name={_('Hover Projections')}
axisFilter={axis =>
!axis._name.includes('angular') && !axis._name.includes('radial')
!(
axis._subplot.includes('ternary') ||
axis._subplot.includes('polar')
)
}
>
<Radio
Expand Down