modnaut / primary

0 stars 0 forks source link

Step #35

Closed modnaut closed 11 years ago

modnaut commented 11 years ago

What does the attribute 'step' mean?

dannycohn commented 11 years ago

On a numberfield, its how much to increment/decrement the value when the user uses the spinner or presses up/down if enabled. http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.Number-cfg-step

On a chart axis it depends on the type of axis. If you search for step in the sencha docs you can find the full documentation. This is why I wanted to keep the attribute names the same as the Sencha ones, so that we can just look up the specs on their docs to figure out how to do what we want or what each attribute does :-)