Skip to content

Commit 6ab6562

Browse files
clean up axis type and tick placement UX
1 parent 1f01fc6 commit 6ab6562

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/fields/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class UnconnectedText extends Component {
2727
}
2828

2929
UnconnectedText.propTypes = {
30-
defaultValue: PropTypes.number,
30+
defaultValue: PropTypes.string,
3131
fullValue: PropTypes.any,
3232
multiValued: PropTypes.bool,
3333
updatePlot: PropTypes.func,

src/default_panels/StyleAxesPanel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class StyleAxesPanel extends Component {
276276
/>
277277
</Section>
278278

279-
<Section name={_('Placement')} attr="dtick">
279+
<Section name={_('Spacing')} attr="dtick">
280280
<Radio
281281
attr="tickmode"
282282
options={[
@@ -304,7 +304,7 @@ class StyleAxesPanel extends Component {
304304
<Numeric label={_('Width')} attr="tickwidth" units="px" />
305305
<ColorPicker label={_('Tick Color')} attr="tickcolor" />
306306
</Section>
307-
<Section name={_('Placement')}>
307+
<Section name={_('Spacing')}>
308308
<Radio
309309
attr="tickmode"
310310
options={[

0 commit comments

Comments
 (0)