Skip to content

Commit 011cbef

Browse files
Merge pull request #681 from plotly/special_axes
polar scatter and ternary min
2 parents 76712ca + 43dade9 commit 011cbef

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/default_panels/GraphSubplotsPanel.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,23 @@ const GraphSubplotsPanel = (props, {localize: _}) => (
221221
<PlotlySection name={_('Ternary')}>
222222
<Numeric label={_('Sum')} attr="sum" />
223223
</PlotlySection>
224+
225+
<PlotlySection name={_('Polar Sector')}>
226+
<Numeric
227+
label={_('Min')}
228+
attr="sector[0]"
229+
max={360}
230+
min={-360}
231+
showSlider
232+
/>
233+
<Numeric
234+
label={_('Max')}
235+
attr="sector[1]"
236+
max={360}
237+
min={-360}
238+
showSlider
239+
/>
240+
</PlotlySection>
224241
</SubplotAccordion>
225242
);
226243

src/default_panels/StyleAxesPanel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class StyleAxesPanel extends Component {
8484
/>
8585
<AxesRange label={_('Min')} attr="range[0]" />
8686
<AxesRange label={_('Max')} attr="range[1]" />
87+
<Numeric label={_('Min')} attr="min" />
8788
</PlotlySection>
8889
<PlotlySection name={_('Zoom Interactivity')} attr="fixedrange">
8990
<Radio

0 commit comments

Comments
 (0)