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
autoGridCountType
booleanDefaulttrueSpecifies whether number for gridCount is specified automatically, according to the axis size.
axisAlphaType
numberDefault0Axis opacity.
axisColorType
colorAxis color.
axisThicknessType
numberThickness of the axis.
colorType
colorLabel color.
dashLengthType
numberLength of a dash. By default, the grid line is not dashed.
fillAlphaType
numberFill opacity. Every second space between grid lines can be filled with color.
fillColorType
colorFill color. Every second space between grid lines can be filled with color. Set fillAlpha to a value greater than 0 to see the fills.
gridAlphaType
numberOpacity of grid lines.
gridColorType
colorColor of grid lines.
gridCountType
numberApproximate number of grid lines. autoGridCount should be set to false, otherwise this property will be ignored.
gridThicknessType
numberThickness of grid lines.
includeGuidesInMinMaxType
booleanSpecifies whether guide values should be included when calculating min and max of the axis.
includeHiddenType
booleanIf true, the axis will include hidden graphs when calculating min and max values.
insideType
booleanDefaulttrueSpecifies 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
PanelsSettingsin order labels to be visible.Note, if you set this property to false, you might also consider setting showLastLabel to true.
integersOnlyType
booleanSpecifies whether values on axis can only be integers or both integers and doubles.
labelFrequencyType
numberFrequency at which labels should be placed.
labelOffsetType
numberDefault0You can use it to adjust position of axis labels.
labelsEnabledType
booleanSpecifies whether value labels are displayed.
logarithmicType
booleanSet to true if value axis is logarithmic, false otherwise.
maximumType
numberIf 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.
minimumType
numberIf 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.
minMaxMultiplierType
numberIf 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%.
minorGridAlphaType
numberOpacity of minor grid. In order minor to be visible, you should set minorGridEnabled to true.
minorGridEnabledType
booleanSpecifies if minor grid should be displayed.
NOTE: If equalSpacing is set to true, this setting will be ignored.
minVerticalGapType
numberThis property is used when calculating grid count (when autoGridCount is true). It specifies minimum cell height required for one span between grid lines.
offsetType
numberThe distance of the axis to the plot area, in pixels. Useful if you have more then one axis on the same side.
positionType
stringPosition of the value axis. Possible values are "left" and "right".
precisionType
numberPrecision (number of decimals) of values.
reversedType
booleanSet to true if value axis is reversed (smaller values on top), false otherwise.
showFirstLabelType
booleanDefaulttrueSpecifies if first label of value axis should be displayed.
showLastLabelType
booleanDefaultfalseSpecifies if last label of value axis should be displayed.
stackTypeType
stringStacking mode of the axis. Possible values are: "none", "regular", "100%", "3d".
strictMinMaxType
booleanIf 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.
tickLengthType
numberDefault0Tick length.
unitType
stringUnit which will be added to the value label.
unitPositionType
stringPosition of the unit. Possible values are "left" or "right".
Methods
ValueAxesSettings does not have any methods.
Events
ValueAxesSettings does not have any events.