Skip to content

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.

Sources

This information about ValueAxesSettings is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

ValueAxesSettings does not extend any other symbol.

ValueAxesSettings is not extended by any other symbol.

Properties

autoGridCount

Type booleanDefault true

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

axisAlpha

Type numberDefault 0

Axis opacity.

axisColor

Type stringDefault

Axis color.

axisThickness

Type numberDefault

Thickness of the axis.

color

Type stringDefault

Label color.

dashLength

Type numberDefault

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

fillAlpha

Type numberDefault

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

fillColor

Type stringDefault

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 numberDefault

Opacity of grid lines.

gridColor

Type stringDefault

Color of grid lines.

gridCount

Type numberDefault

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

gridThickness

Type numberDefault

Thickness of grid lines.

includeGuidesInMinMax

Type booleanDefault

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

includeHidden

Type booleanDefault

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

inside

Type booleanDefault 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 booleanDefault

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

labelFrequency

Type numberDefault

Frequency at which labels should be placed.

labelsEnabled

Type booleanDefault

Specifies whether value labels are displayed.

logarithmic

Type booleanDefault

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

offset

Type numberDefault

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 stringDefault

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

reversed

Type booleanDefault

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

showFirstLabel

Type booleanDefault

Specifies if first label of value axis should be displayed.

showLastLabel

Type booleanDefault

Specifies if last label of value axis should be displayed.

stackType

Type stringDefault

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

tickLength

Type numberDefault 0

Tick length.

unit

Type stringDefault

Unit which will be added to the value label.

unitPosition

Type stringDefault

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

Methods

ValueAxesSettings does not have any methods.

Events

ValueAxesSettings does not have any events.