public class GaugeAxis extends AbstractChartObject
Constructor and Description |
---|
GaugeAxis() |
Modifier and Type | Method and Description |
---|---|
GaugeAxis |
addBands(GaugeBand... bands)
Adds bands.
|
java.lang.Double |
getAxisAlpha() |
Color |
getAxisColor() |
java.lang.Integer |
getAxisThickness() |
java.lang.Double |
getBandAlpha() |
java.util.List<java.lang.Float> |
getBandGradientRatio() |
java.lang.Double |
getBandOutlineAlpha() |
Color |
getBandOutlineColor() |
java.lang.Integer |
getBandOutlineThickness() |
java.util.List<GaugeBand> |
getBands() |
java.lang.String |
getBottomText() |
java.lang.Boolean |
getBottomTextBold() |
Color |
getBottomTextColor() |
java.lang.Integer |
getBottomTextFontSize() |
java.lang.Integer |
getBottomTextYOffset() |
java.lang.String |
getCenterX() |
java.lang.String |
getCenterY() |
Color |
getColor() |
java.lang.Integer |
getEndAngle() |
java.lang.Double |
getEndValue() |
java.lang.Integer |
getFontSize() |
java.lang.Integer |
getGridCount() |
java.lang.Boolean |
getGridInside() |
java.lang.String |
getId() |
java.lang.Boolean |
getInside() |
java.lang.Double |
getLabelFrequency() |
JsFunction |
getLabelFunction() |
java.lang.Integer |
getLabelOffset() |
java.lang.Boolean |
getLabelsEnabled() |
java.lang.Double |
getMinorTickInterval() |
java.lang.Integer |
getMinorTickLength() |
java.lang.String |
getRadius() |
java.lang.Boolean |
getShowFirstLabel() |
java.lang.Boolean |
getShowLastLabel() |
java.lang.Integer |
getStartAngle() |
java.lang.Double |
getStartValue() |
java.lang.Double |
getTickAlpha() |
Color |
getTickColor() |
java.lang.Integer |
getTickLength() |
java.lang.Integer |
getTickThickness() |
java.lang.String |
getTopText() |
java.lang.Boolean |
getTopTextBold() |
Color |
getTopTextColor() |
java.lang.Integer |
getTopTextFontSize() |
java.lang.Integer |
getTopTextYOffset() |
java.lang.String |
getUnit() |
UnitPosition |
getUnitPosition() |
java.lang.Boolean |
getUsePrefixes() |
java.lang.Integer |
getValueInterval() |
GaugeAxis |
setAxisAlpha(java.lang.Double axisAlpha)
Sets axis opacity.
|
GaugeAxis |
setAxisColor(Color axisColor)
Sets axis color.
|
GaugeAxis |
setAxisThickness(java.lang.Integer axisThickness)
Sets thickness of the axis outline.
|
GaugeAxis |
setBandAlpha(java.lang.Double bandAlpha)
Sets opacity of band fills.
|
GaugeAxis |
setBandGradientRatio(java.util.List<java.lang.Float> bandGradientRatio)
Sets list of gradient ratio.
|
GaugeAxis |
setBandOutlineAlpha(java.lang.Double bandOutlineAlpha)
Sets opacity of band outlines.
|
GaugeAxis |
setBandOutlineColor(Color bandOutlineColor)
Sets color of band outlines.
|
GaugeAxis |
setBandOutlineThickness(java.lang.Integer bandOutlineThickness)
Sets thickness of band outlines.
|
GaugeAxis |
setBands(java.util.List<GaugeBand> bands)
Sets list of bands.
|
GaugeAxis |
setBottomText(java.lang.String bottomText)
Sets text displayed below the axis center.
|
GaugeAxis |
setBottomTextBold(java.lang.Boolean bottomTextBold)
Set bottomTextBold to false if text shouldn't be bold
|
GaugeAxis |
setBottomTextColor(Color bottomTextColor)
Sets bottom text color.
|
GaugeAxis |
setBottomTextFontSize(java.lang.Integer bottomTextFontSize)
Sets font size of bottom text.
|
GaugeAxis |
setBottomTextYOffset(java.lang.Integer bottomTextYOffset)
Sets Y offset of bottom text.
|
GaugeAxis |
setCenterX(java.lang.String centerX)
Sets X position of the axis, relative to the center of the gauge.
|
GaugeAxis |
setCenterY(java.lang.String centerY)
Sets Y position of the axis, relative to the center of the gauge.
|
GaugeAxis |
setColor(Color color)
Sets labels color of the axis.
|
GaugeAxis |
setEndAngle(java.lang.Integer endAngle)
Sets axis end angle.
|
GaugeAxis |
setEndValue(java.lang.Double endValue)
Sets axis end (maximum) value.
|
GaugeAxis |
setFontSize(java.lang.Integer fontSize)
Sets font size for axis labels.
|
GaugeAxis |
setGridCount(java.lang.Integer gridCount)
Sets number of grid lines.
|
GaugeAxis |
setGridInside(java.lang.Boolean gridInside)
Set gridInside to false if grid shouldn't be drawn inside the axis.
|
GaugeAxis |
setId(java.lang.String id)
Sets unique id of an axis.
|
GaugeAxis |
setInside(java.lang.Boolean inside)
Set inside to false if labels should be placed outside the axis.
|
GaugeAxis |
setLabelFrequency(java.lang.Double labelFrequency)
Sets frequency of labels.
|
GaugeAxis |
setLabelFunction(JsFunction labelFunction)
Sets JS function to format axis labels.
|
GaugeAxis |
setLabelOffset(java.lang.Integer labelOffset)
Sets distance from axis to the labels.
|
GaugeAxis |
setLabelsEnabled(java.lang.Boolean labelsEnabled)
Sets labelsEnabled to false if labels on the axis shouldn't be shown.
|
GaugeAxis |
setMinorTickInterval(java.lang.Double minorTickInterval)
Sets interval, at which minor ticks should be placed.
|
GaugeAxis |
setMinorTickLength(java.lang.Integer minorTickLength)
Sets length of a minor tick.
|
GaugeAxis |
setRadius(java.lang.String radius)
Sets axis radius.
|
GaugeAxis |
setShowFirstLabel(java.lang.Boolean showFirstLabel)
Set showFirstLabel to false if the first label shouldn't be shown.
|
GaugeAxis |
setShowLastLabel(java.lang.Boolean showLastLabel)
Set showLastLabel to false if the last label shouldn't be shown.
|
GaugeAxis |
setStartAngle(java.lang.Integer startAngle)
Sets axis start angle.
|
GaugeAxis |
setStartValue(java.lang.Double startValue)
Sets axis start (minimum) value.
|
GaugeAxis |
setTickAlpha(java.lang.Double tickAlpha)
Sets opacity of axis ticks.
|
GaugeAxis |
setTickColor(Color tickColor)
Sets color of axis ticks.
|
GaugeAxis |
setTickLength(java.lang.Integer tickLength)
Sets length of a major tick.
|
GaugeAxis |
setTickThickness(java.lang.Integer tickThickness)
Sets tick thickness.
|
GaugeAxis |
setTopText(java.lang.String topText)
Sets text displayed above the axis center.
|
GaugeAxis |
setTopTextBold(java.lang.Boolean topTextBold)
Sets topTextBold to false if text shouldn't be bold.
|
GaugeAxis |
setTopTextColor(Color topTextColor)
Sets color of top text.
|
GaugeAxis |
setTopTextFontSize(java.lang.Integer topTextFontSize)
Sets font size of top text.
|
GaugeAxis |
setTopTextYOffset(java.lang.Integer topTextYOffset)
Sets Y offset of top text.
|
GaugeAxis |
setUnit(java.lang.String unit)
Sets a string which can be placed next to axis labels.
|
GaugeAxis |
setUnitPosition(UnitPosition unitPosition)
Sets position of the unit.
|
GaugeAxis |
setUsePrefixes(java.lang.Boolean usePrefixes)
Set usePrefixes to true if small and big numbers should use prefixes to make them more readable.
|
GaugeAxis |
setValueInterval(java.lang.Integer valueInterval)
Sets interval, at which ticks with values should be placed.
|
public java.lang.Double getAxisAlpha()
public GaugeAxis setAxisAlpha(java.lang.Double axisAlpha)
axisAlpha
- opacitypublic Color getAxisColor()
public GaugeAxis setAxisColor(Color axisColor)
axisColor
- colorpublic java.lang.Integer getAxisThickness()
public GaugeAxis setAxisThickness(java.lang.Integer axisThickness)
axisThickness
- axis thicknesspublic java.lang.Double getBandAlpha()
public GaugeAxis setBandAlpha(java.lang.Double bandAlpha)
bandAlpha
- opacitypublic java.lang.Double getBandOutlineAlpha()
public GaugeAxis setBandOutlineAlpha(java.lang.Double bandOutlineAlpha)
bandOutlineAlpha
- opacitypublic Color getBandOutlineColor()
public GaugeAxis setBandOutlineColor(Color bandOutlineColor)
bandOutlineColor
- colorpublic java.lang.Integer getBandOutlineThickness()
public GaugeAxis setBandOutlineThickness(java.lang.Integer bandOutlineThickness)
bandOutlineThickness
- thicknesspublic java.lang.String getBottomText()
public GaugeAxis setBottomText(java.lang.String bottomText)
bottomText
- bottom textpublic java.lang.Boolean getBottomTextBold()
public GaugeAxis setBottomTextBold(java.lang.Boolean bottomTextBold)
bottomTextBold
- bottomTextBold optionpublic Color getBottomTextColor()
public GaugeAxis setBottomTextColor(Color bottomTextColor)
bottomTextColor
- colorpublic java.lang.Integer getBottomTextFontSize()
public GaugeAxis setBottomTextFontSize(java.lang.Integer bottomTextFontSize)
bottomTextFontSize
- font sizepublic java.lang.Integer getBottomTextYOffset()
public GaugeAxis setBottomTextYOffset(java.lang.Integer bottomTextYOffset)
bottomTextYOffset
- Y offsetpublic java.lang.String getCenterX()
public GaugeAxis setCenterX(java.lang.String centerX)
centerX
- X position of the axispublic java.lang.String getCenterY()
public GaugeAxis setCenterY(java.lang.String centerY)
centerY
- Y position of the axispublic java.lang.Integer getEndAngle()
public GaugeAxis setEndAngle(java.lang.Integer endAngle)
endAngle
- anglepublic java.lang.Double getEndValue()
public GaugeAxis setEndValue(java.lang.Double endValue)
endValue
- end valuepublic java.lang.Boolean getGridInside()
public GaugeAxis setGridInside(java.lang.Boolean gridInside)
gridInside
- gridInside optionpublic java.lang.Boolean getInside()
public GaugeAxis setInside(java.lang.Boolean inside)
inside
- inside optionpublic java.lang.Double getLabelFrequency()
public GaugeAxis setLabelFrequency(java.lang.Double labelFrequency)
labelFrequency
- frequencypublic java.lang.Integer getLabelOffset()
public GaugeAxis setLabelOffset(java.lang.Integer labelOffset)
labelOffset
- label offsetpublic java.lang.Double getMinorTickInterval()
public GaugeAxis setMinorTickInterval(java.lang.Double minorTickInterval)
minorTickInterval
- minor tick intervalpublic java.lang.Integer getMinorTickLength()
public GaugeAxis setMinorTickLength(java.lang.Integer minorTickLength)
minorTickLength
- lengthpublic java.lang.String getRadius()
public GaugeAxis setRadius(java.lang.String radius)
radius
- radiuspublic java.lang.Boolean getShowFirstLabel()
public GaugeAxis setShowFirstLabel(java.lang.Boolean showFirstLabel)
showFirstLabel
- showFirstLabel optionpublic java.lang.Boolean getShowLastLabel()
public GaugeAxis setShowLastLabel(java.lang.Boolean showLastLabel)
showLastLabel
- showLastLabel optionpublic java.lang.Integer getStartAngle()
public GaugeAxis setStartAngle(java.lang.Integer startAngle)
startAngle
- start anglepublic java.lang.Double getStartValue()
public GaugeAxis setStartValue(java.lang.Double startValue)
startValue
- start valuepublic java.lang.Double getTickAlpha()
public GaugeAxis setTickAlpha(java.lang.Double tickAlpha)
tickAlpha
- opacitypublic Color getTickColor()
public GaugeAxis setTickColor(Color tickColor)
tickColor
- tick colorpublic java.lang.Integer getTickLength()
public GaugeAxis setTickLength(java.lang.Integer tickLength)
tickLength
- tick lengthpublic java.lang.Integer getTickThickness()
public GaugeAxis setTickThickness(java.lang.Integer tickThickness)
tickThickness
- tick thicknesspublic java.lang.String getTopText()
public GaugeAxis setTopText(java.lang.String topText)
topText
- top textpublic java.lang.Boolean getTopTextBold()
public GaugeAxis setTopTextBold(java.lang.Boolean topTextBold)
topTextBold
- topTextBold optionpublic Color getTopTextColor()
public GaugeAxis setTopTextColor(Color topTextColor)
topTextColor
- colorpublic java.lang.Integer getTopTextFontSize()
public GaugeAxis setTopTextFontSize(java.lang.Integer topTextFontSize)
topTextFontSize
- font sizepublic java.lang.Integer getTopTextYOffset()
public GaugeAxis setTopTextYOffset(java.lang.Integer topTextYOffset)
topTextYOffset
- Y offsetpublic java.lang.String getUnit()
public GaugeAxis setUnit(java.lang.String unit)
unit
- unit stringpublic UnitPosition getUnitPosition()
public GaugeAxis setUnitPosition(UnitPosition unitPosition)
unitPosition
- unit positionpublic java.lang.Integer getValueInterval()
public GaugeAxis setValueInterval(java.lang.Integer valueInterval)
valueInterval
- value intervalpublic java.util.List<GaugeBand> getBands()
public GaugeAxis setBands(java.util.List<GaugeBand> bands)
bands
- list of bandspublic java.lang.Integer getGridCount()
public GaugeAxis setGridCount(java.lang.Integer gridCount)
gridCount
- number of grid linespublic java.lang.String getId()
public GaugeAxis setId(java.lang.String id)
id
- idpublic java.lang.Boolean getLabelsEnabled()
public GaugeAxis setLabelsEnabled(java.lang.Boolean labelsEnabled)
labelsEnabled
- labelsEnabled optionpublic java.lang.Boolean getUsePrefixes()
public GaugeAxis setUsePrefixes(java.lang.Boolean usePrefixes)
usePrefixes
- usePrefixes optionpublic JsFunction getLabelFunction()
public GaugeAxis setLabelFunction(JsFunction labelFunction)
labelFunction
- JS functionpublic Color getColor()
public GaugeAxis setColor(Color color)
color
- colorpublic java.lang.Integer getFontSize()
public GaugeAxis setFontSize(java.lang.Integer fontSize)
fontSize
- font sizepublic java.util.List<java.lang.Float> getBandGradientRatio()
public GaugeAxis setBandGradientRatio(java.util.List<java.lang.Float> bandGradientRatio)
bandGradientRatio
- list gradient ratios