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.

ValueAxesSettings

Type class

ValueAxesSettings settings set's settings for all ValueAxes. 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 ValueAxis class will be used.

Inheritance

ValueAxesSettings does not extend any other symbol.

ValueAxesSettings is not extended by any other symbol.

Properties

autoGridCount
#

Type boolean

Default true

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

axisAlpha
#

Type number

Default 0

Axis opacity.

axisColor
#

Type string

Default

Axis color.

axisThickness
#

Type number

Default

Thickness of the axis.

color
#

Type string

Default

Label color.

dashLength
#

Type number

Default

Length of a dash. By default, the grid line is not dashed.

fillAlpha
#

Type number

Default

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

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.

gridAlpha
#

Type number

Default

Opacity of grid lines.

gridColor
#

Type string

Default

Color of grid lines.

gridCount
#

Type number

Default

Approximate number of grid lines. autoGridCount should be set to false, otherwise this property will be ignored.

gridThickness
#

Type number

Default

Thickness of grid lines.

includeGuidesInMinMax
#

Type boolean

Default

Specifies whether guide values should be included when calculating min and max of the axis.

includeHidden
#

Type boolean

Default

If true, the axis will include hidden graphs when calculating min and max values.

inside
#

Type boolean

Default true

Specifies whether values should be placed inside or outside plot area. In case you set this to false, you'll have to adjust marginLeft or marginRight in [[PanelsSettings]] in order labels to be visible.

integersOnly
#

Type boolean

Default

Specifies whether values on axis can only be integers or both integers and doubles.

labelFrequency
#

Type number

Default

Frequency at which labels should be placed.

labelsEnabled
#

Type boolean

Default

Specifies whether value labels are displayed.

logarithmic
#

Type boolean

Default

Set to true if value axis is logarithmic, false otherwise.

offset
#

Type number

Default

The distance of the axis to the plot area, in pixels. Useful if you have more then one axis on the same side.

position
#

Type string

Default

Position of the value axis. Possible values are "left" and "right".

reversed
#

Type boolean

Default

Set to true if value axis is reversed (smaller values on top), false otherwise.

showFirstLabel
#

Type boolean

Default

Specifies if first label of value axis should be displayed.

showLastLabel
#

Type boolean

Default

Specifies if last label of value axis should be displayed.

stackType
#

Type string

Default

Stacking mode of the axis. Possible values are: "none", "regular", "100%", "3d".

tickLength
#

Type number

Default 0

Tick length.

unit
#

Type string

Default

Unit which will be added to the value label.

unitPosition
#

Type string

Default

Position of the unit. Possible values are "left" or "right".

Methods

ValueAxesSettings does not have any methods.

Events

ValueAxesSettings does not have any events.

Adapters

ValueAxesSettings does not have any adapters.