Information on this website refers to a deprecated product, and is provided only for historical reference. Please use the Version Switcher above to select an appropriate documentation website for the product you are using.

CategoryAxesSettings

Type class

CategoryAxesSettings settings set's settings common for all CategoryAxes of StockPanels. If you change a property after the chart is initialized, you should call stockChart.validateNow() method in order for it to work. If there is no default value specified, default value of CategoryAxis class will be used.

Inheritance

CategoryAxesSettings does not extend any other symbol.

CategoryAxesSettings is not extended by any other symbol.

Properties

autoGridCount
#

Type boolean

Default true

Specifies whether number of gridCount is specified automatically, according to the axis size.

axisAlpha
#

Type number

Default 0

Axis opacity.

axisColor
#

Type string

Default

Axis color.

axisHeight
#

Type number

Default 28

Height of category axes. Set it to 0 if you set inside property to true.

axisThickness
#

Type number

Default

Thickness of the axis.

color
#

Type string

Default

Text color.

dashLength
#

Type number

Default

Length of a dash.

dateFormats
#

Type array

Default

Date formats of different periods. Possible period values: fff - milliseconds, ss - seconds, mm - minutes, hh - hours, DD - days, MM - months, WW - weeks, YYYY - years. Check this page for date formatting strings.

equalSpacing
#

Type boolean

Default false

If you want data points to be placed at equal intervals (omiting dates with no data), set equalSpacing to true.

fillAlpha
#

Type number

Default

Fill opacity. Every second space between grid lines can be filled with fillColor.

fillColor
#

Type string

Default

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.

fontSize
#

Type number

Default

Text size.

gridAlpha
#

Type number

Default

Opacity of grid lines.

gridColor
#

Type string

Default

Color of grid lines.

gridCount
#

Type number

Default 10

Approximate number of grid lines. You should set autoGridCount to false in order this property not to be ignored.

gridThickness
#

Type number

Default

Thickness of grid lines.

groupToPeriods
#

Type array

Default ["ss",
"10ss",
"30ss",
"mm",
"10mm",
"30mm",
"hh",
"DD",
"WW",
"MM",
"YYYY"]

Periods to which data will be gruoped in case there are more data items in the selected period than specified in maxSeries property.

inside
#

Type boolean

Default false

Specifies whether values should be placed inside or outside of plot area.

labelRotation
#

Type number

Default

Rotation angle of a label.

labelsEnabled
#

Type boolean

Default true

Specifies whether axis displays category axis' labels and value axis' values.

maxSeries
#

Type number

Default 150

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.

minPeriod
#

Type string

Default DD

Specifies the shortest period of your data. fff - millisecond, ss - second, mm - minute, hh - hour, DD - day, MM - month, YYYY - year.

It's also possible to supply a number for increments, i.e. "15mm" which will instruct the chart that your data is supplied in 15 minute increments.

position
#

Type string

Default

"top" or "bottom".

startOnAxis
#

Type boolean

Default false

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.

tickLength
#

Type number

Default 0

Tick length.

Methods

CategoryAxesSettings does not have any methods.

Events

CategoryAxesSettings does not have any events.

Adapters

CategoryAxesSettings does not have any adapters.