public class ValueAxesSettings extends AbstractChartObject
ValueAxis
. If there is no default value specified, default value of
ValueAxis
class will be used.
See documentation for properties of ValueAxesSettings
JS object.
http://docs.amcharts.com/3/javascriptstockchart/ValueAxesSettings
Constructor and Description |
---|
ValueAxesSettings() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAutoGridCount() |
java.lang.Double |
getAxisAlpha() |
Color |
getAxisColor() |
java.lang.Integer |
getAxisThickness() |
Color |
getColor() |
java.lang.Integer |
getDashLength() |
java.lang.Double |
getFillAlpha() |
Color |
getFillColor() |
java.lang.Double |
getGridAlpha() |
Color |
getGridColor() |
java.lang.Integer |
getGridCount() |
java.lang.Integer |
getGridThickness() |
java.lang.Boolean |
getIncludeGuidesInMinMax() |
java.lang.Boolean |
getIncludeHidden() |
java.lang.Boolean |
getInside() |
java.lang.Boolean |
getIntegersOnly() |
java.lang.Double |
getLabelFrequency() |
java.lang.Integer |
getLabelOffset() |
java.lang.Boolean |
getLabelsEnabled() |
java.lang.Boolean |
getLogarithmic() |
java.lang.Double |
getMaximum() |
java.lang.Double |
getMinimum() |
java.lang.Double |
getMinMaxMultiplier() |
java.lang.Double |
getMinorGridAlpha() |
java.lang.Boolean |
getMinorGridEnabled() |
java.lang.Integer |
getMinVerticalGap() |
java.lang.Integer |
getOffset() |
ValueAxisPosition |
getPosition() |
java.lang.Integer |
getPrecision() |
java.lang.Boolean |
getReversed() |
java.lang.Boolean |
getShowFirstLabel() |
java.lang.Boolean |
getShowLastLabel() |
StackType |
getStackType() |
java.lang.Boolean |
getStrictMinMax() |
java.lang.Integer |
getTickLength() |
java.lang.String |
getUnit() |
UnitPosition |
getUnitPosition() |
ValueAxesSettings |
setAutoGridCount(java.lang.Boolean autoGridCount)
Set autoGridCount to false the number for gridCount shouldn't be specified automatically, according to the axis
size.
|
ValueAxesSettings |
setAxisAlpha(java.lang.Double axisAlpha)
Sets axis opacity.
|
ValueAxesSettings |
setAxisColor(Color axisColor)
Sets axis color.
|
ValueAxesSettings |
setAxisThickness(java.lang.Integer axisThickness)
Sets thickness of the axis.
|
ValueAxesSettings |
setColor(Color color)
Sets
label color. |
ValueAxesSettings |
setDashLength(java.lang.Integer dashLength)
Sets length of a dash.
|
ValueAxesSettings |
setFillAlpha(java.lang.Double fillAlpha)
Sets fill opacity.
|
ValueAxesSettings |
setFillColor(Color fillColor)
Sets fill color.
|
ValueAxesSettings |
setGridAlpha(java.lang.Double gridAlpha)
Sets opacity of grid lines.
|
ValueAxesSettings |
setGridColor(Color gridColor)
Sets color of grid lines.
|
ValueAxesSettings |
setGridCount(java.lang.Integer gridCount)
Sets approximate number of grid lines.
|
ValueAxesSettings |
setGridThickness(java.lang.Integer gridThickness)
Sets thickness of grid lines.
|
ValueAxesSettings |
setIncludeGuidesInMinMax(java.lang.Boolean includeGuidesInMinMax)
Specifies whether guide values should be included when calculating minimum and maximum of the axis.
|
ValueAxesSettings |
setIncludeHidden(java.lang.Boolean includeHidden)
Specifies whether the axis should include hidden graphs when calculating minimum and maximum values.
|
ValueAxesSettings |
setInside(java.lang.Boolean inside)
Set inside to false if values should be placed inside plot area.
|
ValueAxesSettings |
setIntegersOnly(java.lang.Boolean integersOnly)
Specifies whether values on axis can only be integers or both integers and doubles.
|
ValueAxesSettings |
setLabelFrequency(java.lang.Double labelFrequency)
Sets frequency at which labels should be placed.
|
ValueAxesSettings |
setLabelOffset(java.lang.Integer labelOffset)
Sets label offset.
|
ValueAxesSettings |
setLabelsEnabled(java.lang.Boolean labelsEnabled)
Set labelsEnabled to false if value labels shouldn't be displayed.
|
ValueAxesSettings |
setLogarithmic(java.lang.Boolean logarithmic)
Set logarithmic to true if value axis is logarithmic.
|
ValueAxesSettings |
setMaximum(java.lang.Double maximum)
Set maximum value if you don't want maximum value to be calculated by the chart.
|
ValueAxesSettings |
setMinimum(java.lang.Double minimum)
Set minimum value if you don't want minimum value to be calculated by the chart.
|
ValueAxesSettings |
setMinMaxMultiplier(java.lang.Double minMaxMultiplier)
Sets minimum and maximum multiplier.
|
ValueAxesSettings |
setMinorGridAlpha(java.lang.Double minorGridAlpha)
Sets opacity of minor grid.
|
ValueAxesSettings |
setMinorGridEnabled(java.lang.Boolean minorGridEnabled)
Specifies if minor grid should be displayed.
|
ValueAxesSettings |
setMinVerticalGap(java.lang.Integer minVerticalGap)
Sets minimum vertical gap.
|
ValueAxesSettings |
setOffset(java.lang.Integer offset)
Sets the distance of the axis to the plot area, in pixels.
|
ValueAxesSettings |
setPosition(ValueAxisPosition position)
Sets position of the value axis.
|
ValueAxesSettings |
setPrecision(java.lang.Integer precision)
Sets precision (number of decimals) of values.
|
ValueAxesSettings |
setReversed(java.lang.Boolean reversed)
Set reversed to true if value axis should be reversed (smaller values on top).
|
ValueAxesSettings |
setShowFirstLabel(java.lang.Boolean showFirstLabel)
Set showFirstLabel to false if first label of value axis shouldn't be displayed.
|
ValueAxesSettings |
setShowLastLabel(java.lang.Boolean showLastLabel)
Set showLastLabel to true if last label of value axis should be displayed.
|
ValueAxesSettings |
setStackType(StackType stackType)
Sets stacking mode of the axis.
|
ValueAxesSettings |
setStrictMinMax(java.lang.Boolean strictMinMax)
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.
|
ValueAxesSettings |
setTickLength(java.lang.Integer tickLength)
Sets tick length.
|
ValueAxesSettings |
setUnit(java.lang.String unit)
Sets unit which will be added to the value label.
|
ValueAxesSettings |
setUnitPosition(UnitPosition unitPosition)
Sets position of the unit.
|
public java.lang.Boolean getAutoGridCount()
public ValueAxesSettings setAutoGridCount(java.lang.Boolean autoGridCount)
autoGridCount
- autoGridCount optionpublic java.lang.Double getAxisAlpha()
public ValueAxesSettings setAxisAlpha(java.lang.Double axisAlpha)
axisAlpha
- opacitypublic Color getAxisColor()
public ValueAxesSettings setAxisColor(Color axisColor)
axisColor
- colorpublic java.lang.Integer getAxisThickness()
public ValueAxesSettings setAxisThickness(java.lang.Integer axisThickness)
axisThickness
- thicknesspublic ValueAxesSettings setColor(Color color)
label
color.color
- colorpublic java.lang.Integer getDashLength()
public ValueAxesSettings setDashLength(java.lang.Integer dashLength)
dashLength
- dash lengthpublic java.lang.Double getFillAlpha()
public ValueAxesSettings setFillAlpha(java.lang.Double fillAlpha)
fillAlpha
- opacitypublic Color getFillColor()
public ValueAxesSettings setFillColor(Color fillColor)
fillColor
- colorpublic java.lang.Double getGridAlpha()
public ValueAxesSettings setGridAlpha(java.lang.Double gridAlpha)
gridAlpha
- opacitypublic Color getGridColor()
public ValueAxesSettings setGridColor(Color gridColor)
gridColor
- colorpublic java.lang.Integer getGridThickness()
public ValueAxesSettings setGridThickness(java.lang.Integer gridThickness)
gridThickness
- thicknesspublic java.lang.Boolean getIncludeGuidesInMinMax()
public ValueAxesSettings setIncludeGuidesInMinMax(java.lang.Boolean includeGuidesInMinMax)
includeGuidesInMinMax
- includeGuidesInMinMax optionpublic java.lang.Boolean getIncludeHidden()
public ValueAxesSettings setIncludeHidden(java.lang.Boolean includeHidden)
includeHidden
- includeHidden optionpublic java.lang.Boolean getInside()
public ValueAxesSettings setInside(java.lang.Boolean inside)
PanelsSettings.marginLeft
or PanelsSettings.marginRight
in order labels to be visible.
Note, if you set this property to false, you might also consider setting showLastLabel to true. If not set the
default value is true.inside
- inside optionpublic java.lang.Boolean getIntegersOnly()
public ValueAxesSettings setIntegersOnly(java.lang.Boolean integersOnly)
integersOnly
- integersOnly optionpublic java.lang.Double getLabelFrequency()
public ValueAxesSettings setLabelFrequency(java.lang.Double labelFrequency)
labelFrequency
- label frequencypublic java.lang.Integer getLabelOffset()
public ValueAxesSettings setLabelOffset(java.lang.Integer labelOffset)
labelOffset
- label offsetpublic java.lang.Boolean getLabelsEnabled()
public ValueAxesSettings setLabelsEnabled(java.lang.Boolean labelsEnabled)
labelsEnabled
- labelsEnabled optionpublic java.lang.Boolean getLogarithmic()
public ValueAxesSettings setLogarithmic(java.lang.Boolean logarithmic)
logarithmic
- logarithmic optionpublic java.lang.Double getMaximum()
public ValueAxesSettings setMaximum(java.lang.Double maximum)
maximum
- maximum valuepublic java.lang.Double getMinimum()
public ValueAxesSettings setMinimum(java.lang.Double minimum)
minimum
- minimum valuepublic java.lang.Double getMinMaxMultiplier()
public ValueAxesSettings setMinMaxMultiplier(java.lang.Double minMaxMultiplier)
minMaxMultiplier
- minimum and maximum multiplierpublic java.lang.Integer getOffset()
public ValueAxesSettings setOffset(java.lang.Integer offset)
offset
- offsetpublic ValueAxisPosition getPosition()
public ValueAxesSettings setPosition(ValueAxisPosition position)
position
- positionpublic java.lang.Boolean getReversed()
public ValueAxesSettings setReversed(java.lang.Boolean reversed)
reversed
- reversed optionpublic java.lang.Boolean getShowFirstLabel()
public ValueAxesSettings setShowFirstLabel(java.lang.Boolean showFirstLabel)
showFirstLabel
- showFirstLabel optionpublic java.lang.Boolean getShowLastLabel()
public ValueAxesSettings setShowLastLabel(java.lang.Boolean showLastLabel)
showLastLabel
- showLastLabel optionpublic StackType getStackType()
public ValueAxesSettings setStackType(StackType stackType)
stackType
- stack typepublic java.lang.Integer getTickLength()
public ValueAxesSettings setTickLength(java.lang.Integer tickLength)
tickLength
- tick lengthpublic java.lang.String getUnit()
public ValueAxesSettings setUnit(java.lang.String unit)
unit
- unitpublic UnitPosition getUnitPosition()
public ValueAxesSettings setUnitPosition(UnitPosition unitPosition)
unitPosition
- unit positionpublic java.lang.Integer getGridCount()
public ValueAxesSettings setGridCount(java.lang.Integer gridCount)
gridCount
- grid countpublic java.lang.Double getMinorGridAlpha()
public ValueAxesSettings setMinorGridAlpha(java.lang.Double minorGridAlpha)
minorGridAlpha
- opacitypublic java.lang.Boolean getMinorGridEnabled()
public ValueAxesSettings setMinorGridEnabled(java.lang.Boolean minorGridEnabled)
minorGridEnabled
- minorGridEnabled optionpublic java.lang.Integer getMinVerticalGap()
public ValueAxesSettings setMinVerticalGap(java.lang.Integer minVerticalGap)
minVerticalGap
- minimum vertical gappublic java.lang.Integer getPrecision()
public ValueAxesSettings setPrecision(java.lang.Integer precision)
precision
- precisionpublic java.lang.Boolean getStrictMinMax()
public ValueAxesSettings setStrictMinMax(java.lang.Boolean strictMinMax)
strictMinMax
- strictMinMax option