| Package | com.amcharts.stock |
| Class | public class CategoryAxesSettings |
| Inheritance | CategoryAxesSettings flash.events.EventDispatcher |
If a property has no default value and it is not defined, default styles and properties of CategoryAxis will be used. Check AmChartsBundle documentation to see these defaults.
You can set axis-specific properties and styles directly on CategoryAxis only if a property doesn't have default value. Note, properties set here have higher priority.
| Property | Defined by | ||
|---|---|---|---|
| autoGridCount : Boolean
Specifies whether number of gridCount is specified automatically, according to the axis size.
| CategoryAxesSettings | ||
| axisAlpha : Number
Axis opacity.
| CategoryAxesSettings | ||
| axisColor : Number
Axis color.
| CategoryAxesSettings | ||
| axisHeight : Number
The vertical space in pixels allocated for CategoryAxis values.
| CategoryAxesSettings | ||
| axisThickness : Number
Thickness of the axis.
| CategoryAxesSettings | ||
| color : Number
Text color.
| CategoryAxesSettings | ||
| dashLength : Number
Length of a dash.
| CategoryAxesSettings | ||
| dateFormats : Array
Array of date format objects.
| CategoryAxesSettings | ||
| equalSpacing : Boolean
If you want data points to be placed at equal intervals (omiting dates with no data), set equalSpacing to true.
| CategoryAxesSettings | ||
| fillAlpha : Number
Fill opacity.
| CategoryAxesSettings | ||
| fillColor : Number
Fill color.
| CategoryAxesSettings | ||
| fontSize : Number
Text size.
| CategoryAxesSettings | ||
| gridAlpha : Number
Opacity of grid lines.
| CategoryAxesSettings | ||
| gridColor : Number
Color of grid lines.
| CategoryAxesSettings | ||
| gridCount : Number
Approximate number of grid lines.
| CategoryAxesSettings | ||
| gridThickness : Number
Thickness of grid lines.
| CategoryAxesSettings | ||
| groupToPeriods : Array
Periods to which data will be gruoped in case there are more data items in the selected period than specified in maxSeries property.
| CategoryAxesSettings | ||
| inside : Boolean
Specifies whether values should be placed inside or outside of plot area.
| CategoryAxesSettings | ||
| labelRotation : Number
Rotation angle of a label.
| CategoryAxesSettings | ||
| maxSeries : Number
Maximum series shown at a time.
| CategoryAxesSettings | ||
| minPeriod : String
Specifies the shortest period of your data.
| CategoryAxesSettings | ||
| position : String
Position of the axis.
| CategoryAxesSettings | ||
| startOnAxis : Boolean
Specifies whether the graph should start on axis or not.
| CategoryAxesSettings | ||
| tickLength : Number
Tick length.
| CategoryAxesSettings | ||
| Method | Defined by | ||
|---|---|---|---|
| CategoryAxesSettings | |||
| autoGridCount | property |
autoGridCount:Boolean [read-write]Specifies whether number of gridCount is specified automatically, according to the axis size.
The default value is true.
public function get autoGridCount():Boolean
public function set autoGridCount(value:Boolean):void
| axisAlpha | property |
axisAlpha:Number [read-write]Axis opacity.
Implementation public function get axisAlpha():Number
public function set axisAlpha(value:Number):void
| axisColor | property |
axisColor:Number [read-write]Axis color.
Implementation public function get axisColor():Number
public function set axisColor(value:Number):void
| axisHeight | property |
axisHeight:Number [read-write]The vertical space in pixels allocated for CategoryAxis values.
The default value is 28.
public function get axisHeight():Number
public function set axisHeight(value:Number):void
| axisThickness | property |
axisThickness:Number [read-write]Thickness of the axis.
Implementation public function get axisThickness():Number
public function set axisThickness(value:Number):void
| color | property |
color:Number [read-write]Text color.
Implementation public function get color():Number
public function set color(value:Number):void
| dashLength | property |
dashLength:Number [read-write]Length of a dash. By default, the grid line is not dashed.
Implementation public function get dashLength():Number
public function set dashLength(value:Number):void
| dateFormats | property |
dateFormats:Array [read-write]Array of date format objects. Date format object must have "period" and "format" items. Available periods are: fff - millisecond, ss - second, mm - minute, hh - hour, DD - date, MM - month, YYYY - year. format can contain any string supported by mx.formatters.DateFormatter class. For example: {period:"DD", format:"MMM DD"}
Implementation public function get dateFormats():Array
public function set dateFormats(value:Array):void
| equalSpacing | property |
equalSpacing:Boolean [read-write]If you want data points to be placed at equal intervals (omiting dates with no data), set equalSpacing to true.
The default value is false.
public function get equalSpacing():Boolean
public function set equalSpacing(value:Boolean):void
| fillAlpha | property |
fillAlpha:Number [read-write]Fill opacity. Every second space between grid lines can be filled with color. Set fillAlpha to a value greater than 0 to see the fills.
Implementation public function get fillAlpha():Number
public function set fillAlpha(value:Number):void
| fillColor | property |
fillColor:Number [read-write]Fill color. Every second space between grid lines can be filled with color. Set fillAlpha to a value greater than 0 to see the fills.
Implementation public function get fillColor():Number
public function set fillColor(value:Number):void
| fontSize | property |
fontSize:Number [read-write]Text size.
Implementation public function get fontSize():Number
public function set fontSize(value:Number):void
| gridAlpha | property |
gridAlpha:Number [read-write]Opacity of grid lines.
Implementation public function get gridAlpha():Number
public function set gridAlpha(value:Number):void
| gridColor | property |
gridColor:Number [read-write]Color of grid lines.
Implementation public function get gridColor():Number
public function set gridColor(value:Number):void
| gridCount | property |
gridCount:Number [read-write]Approximate number of grid lines.
The default value is 10.
public function get gridCount():Number
public function set gridCount(value:Number):void
| gridThickness | property |
gridThickness:Number [read-write]Thickness of grid lines.
Implementation public function get gridThickness():Number
public function set gridThickness(value:Number):void
| groupToPeriods | property |
groupToPeriods:Array [read-write]Periods to which data will be gruoped in case there are more data items in the selected period than specified in maxSeries property.
The default value is "ss", "10ss", "30ss", "mm", "10mm", "30mm", "hh", "DD", "WW", "MM", "YYYY";.
public function get groupToPeriods():Array
public function set groupToPeriods(value:Array):void
| inside | property |
inside:Boolean [read-write]Specifies whether values should be placed inside or outside of plot area.
Implementation public function get inside():Boolean
public function set inside(value:Boolean):void
| labelRotation | property |
labelRotation:Number [read-write]Rotation angle of a label. In case you rotate axis' values, you should embed fonts.
Implementation public function get labelRotation():Number
public function set labelRotation(value:Number):void
| maxSeries | property |
maxSeries:Number [read-write]Maximum series shown at a time. In case there are more data points in the selection than maxSeries, the chart will group data to longer periods, for example - you have 250 days in the selection, and maxSeries is 150 - the chart will group data to weeks.
The default value is 150.
public function get maxSeries():Number
public function set maxSeries(value:Number):void
| minPeriod | property |
minPeriod:String [read-write]Specifies the shortest period of your data.
The default value is DD.
public function get minPeriod():String
public function set minPeriod(value:String):void
| position | property |
position:String [read-write]Position of the axis.
Implementation public function get position():String
public function set position(value:String):void
| startOnAxis | property |
startOnAxis:Boolean [read-write]Specifies whether the graph should start on axis or not. In case you display columns, it is recommended to set this to false. startOnAxis can be set to true only if equalSpacing is set to true.
Implementation public function get startOnAxis():Boolean
public function set startOnAxis(value:Boolean):void
| tickLength | property |
tickLength:Number [read-write]Tick length.
The default value is 0.
public function get tickLength():Number
public function set tickLength(value:Number):void
| CategoryAxesSettings | () | constructor |
public function CategoryAxesSettings()