ValueAxesSettings | JavaScript Stock Charts v. 3 | amCharts

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.

### Properties

Property | Type | Default | Description
--- | --- | --- | ---
autoGridCount | Boolean | true | Specifies whether number for gridCount is specified automatically, according to the axis size.
axisAlpha | Number | 0 | Axis opacity.
axisColor | Color |  | Axis color.
axisThickness | Number |  | Thickness of the axis.
color | Color |  | Label color.
dashLength | Number |  | Length of a dash. By default, the grid line is not dashed.
fillAlpha | Number |  | Fill opacity. Every second space between grid lines can be filled with color.
fillColor | Color |  | 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 | Number |  | Opacity of grid lines.
gridColor | Color |  | Color of grid lines.
gridCount | Number |  | Approximate number of grid lines. autoGridCount should be set to false, otherwise this property will be ignored.
gridThickness | Number |  | Thickness of grid lines.
includeGuidesInMinMax | Boolean |  | Specifies whether guide values should be included when calculating min and max of the axis.
includeHidden | Boolean |  | If true, the axis will include hidden graphs when calculating min and max values.
inside | Boolean | 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. Note, if you set this property to false, you might also consider setting showLastLabel to true.
integersOnly | Boolean |  | Specifies whether values on axis can only be integers or both integers and doubles.
labelFrequency | Number |  | Frequency at which labels should be placed.
labelOffset | Number | 0 | You can use it to adjust position of axis labels.
labelsEnabled | Boolean |  | Specifies whether value labels are displayed.
logarithmic | Boolean |  | Set to true if value axis is logarithmic, false otherwise.
maximum | Number |  | If you don't want max value to be calculated by the chart, set it using this property. This value might still be adjusted so that it would be possible to draw grid at rounded intervals.
minimum | Number |  | If you don't want min value to be calculated by the chart, set it using this property. This value might still be adjusted so that it would be possible to draw grid at rounded intervals.
minMaxMultiplier | Number |  | If set value axis scale (min and max numbers) will be multiplied by it. I.e. if set to 1.2 the scope of values will increase by 20%.
minorGridAlpha | Number |  | Opacity of minor grid. In order minor to be visible, you should set minorGridEnabled to true.
minorGridEnabled | Boolean |  | Specifies if minor grid should be displayed. NOTE: If equalSpacing is set to true, this setting will be ignored.
minVerticalGap | Number |  | This property is used when calculating grid count (when autoGridCount is true). It specifies minimum cell height required for one span between grid lines.
offset | Number |  | The distance of the axis to the plot area, in pixels. Useful if you have more then one axis on the same side.
position | String |  | Position of the value axis. Possible values are "left" and "right".
precision | Number |  | Precision (number of decimals) of values.
reversed | Boolean |  | Set to true if value axis is reversed (smaller values on top), false otherwise.
showFirstLabel | Boolean | true | Specifies if first label of value axis should be displayed.
showLastLabel | Boolean | false | Specifies if last label of value axis should be displayed.
stackType | String |  | Stacking mode of the axis. Possible values are: "none", "regular", "100%", "3d".
strictMinMax | Boolean |  | If you set minimum and maximum for your axis, chart adjusts them so that grid would start and end on the beginning and end of plot area and grid would be at equal intervals. If you set strictMinMax to true, the chart will not adjust minimum and maximum of value axis.
tickLength | Number | 0 | Tick length.
unit | String |  | Unit which will be added to the value label.
unitPosition | String |  | Position of the unit. Possible values are "left" or "right".

### Methods

ValueAxesSettings class does not have any methods.

### Events

ValueAxesSettings class does not have any events.