Sencha Documentation

A type of axis that displays items in categories.

Config Options

 
dashSize : Number
The size of the dash marker. Default's 3.
The size of the dash marker. Default's 3.
 
length : Number
Offset axis position. Default's 0.
Offset axis position. Default's 0.
 
position : String
Where to set the axis. Available options are `left`, `bottom`, `right`, `top`. Default's `bottom`.
Where to set the axis. Available options are `left`, `bottom`, `right`, `top`. Default's `bottom`.
 
width : Number
Offset axis width. Default's 0.
Offset axis width. Default's 0.

Properties

 
Indicates whether or not to calculate the number of categories (ticks and labels) when there is not enough room to di...
Indicates whether or not to calculate the number of categories (ticks and labels) when there is not enough room to display all labels on the axis. If set to true, the axis will determine the number of categories to plot. If not, all categories will be plotted.
 
A list of category names to display along this axis.
A list of category names to display along this axis.

Methods

 
drawAxis : Void
Renders the axis into the screen and updates it's position.
Renders the axis into the screen and updates it's position.
 
drawGrid : Void
Renders an horizontal and/or vertical grid into the Surface.
Renders an horizontal and/or vertical grid into the Surface.
 
drawLabels : Void
Renders the labels in the axes.
Renders the labels in the axes.