Skip to content

Commit f943ae8

Browse files
nicolaskruchtenVeraZab
authored andcommitted
tickson
1 parent f36c296 commit f943ae8

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/default_panels/StyleAxesPanel.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ class StyleAxesPanel extends Component {
106106
<Numeric label={_('Thickness')} attr="gridwidth" units="px" />
107107
<ColorPicker label={_('Color')} attr="gridcolor" />
108108

109+
<Radio
110+
label={_('Position On')}
111+
attr="tickson"
112+
options={[
113+
{label: _('Labels'), value: 'labels'},
114+
{label: _('Boundaries'), value: 'boundaries'},
115+
]}
116+
/>
109117
<Radio
110118
label={_('Grid Spacing')}
111119
attr="tickmode"
@@ -149,6 +157,14 @@ class StyleAxesPanel extends Component {
149157
attr="automargin"
150158
options={[{label: _('True'), value: true}, {label: _('False'), value: false}]}
151159
/>
160+
<Radio
161+
label={_('Position on')}
162+
attr="tickson"
163+
options={[
164+
{label: _('Labels'), value: 'labels'},
165+
{label: _('Boundaries'), value: 'boundaries'},
166+
]}
167+
/>
152168
<FontSelector label={_('Typeface')} attr="tickfont.family" />
153169
<Numeric label={_('Font Size')} attr="tickfont.size" units="px" />
154170
<ColorPicker label={_('Font Color')} attr="tickfont.color" />
@@ -276,6 +292,14 @@ class StyleAxesPanel extends Component {
276292
defaultOpt={'Outside'}
277293
>
278294
<AxisSide label={_('Position')} attr="side" />
295+
<Radio
296+
label={_('Position on')}
297+
attr="tickson"
298+
options={[
299+
{label: _('Labels'), value: 'labels'},
300+
{label: _('Boundaries'), value: 'boundaries'},
301+
]}
302+
/>
279303
<Numeric label={_('Length')} attr="ticklen" units="px" />
280304
<Numeric label={_('Width')} attr="tickwidth" units="px" />
281305
<ColorPicker label={_('Color')} attr="tickcolor" />

0 commit comments

Comments
 (0)