public class GaugeSeries extends ChartSeries
| Modifier and Type | Class and Description |
|---|---|
static class |
GaugeSeries.GaugeType |
static class |
GaugeSeries.LabelPosition |
ChartSeries.ChartType| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
background |
java.lang.Integer |
diameter |
java.lang.Integer |
hubRadius |
java.lang.String[] |
intervalColors |
java.lang.Number |
intervalInnerRadius |
java.lang.Number |
intervalOuterRadius |
java.lang.Number[] |
intervals |
java.lang.String |
label |
java.lang.Integer |
labelHeightAdjust |
GaugeSeries.LabelPosition |
labelPosition |
java.lang.Number |
max |
java.lang.Number |
min |
java.lang.Integer |
needlePad |
java.lang.Integer |
needleThickness |
java.lang.Number |
padding |
java.lang.Boolean |
pegNeedle |
java.lang.String |
ringColor |
java.lang.Integer |
ringWidth |
java.lang.Boolean |
showTickLabels |
java.lang.Boolean |
showTicks |
java.lang.String |
tickColor |
java.lang.Integer |
tickPadding |
java.lang.Number[] |
ticks |
java.lang.Integer |
tickSpacing |
java.lang.Number |
value |
| Constructor and Description |
|---|
GaugeSeries() |
GaugeSeries(java.lang.Number value) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeRendererOptions(JSONBuilder cfg) |
java.lang.String |
getBackground() |
JSONBuilder |
getConfigJSON(javax.faces.component.UIComponent component) |
JSONBuilder |
getDataJSON(javax.faces.component.UIComponent component) |
ChartSeries.ChartType |
getDefaultType() |
java.lang.Integer |
getDiameter() |
java.lang.Integer |
getHubRadius() |
java.lang.String[] |
getIntervalColors() |
java.lang.Number |
getIntervalInnerRadius() |
java.lang.Number |
getIntervalOuterRadius() |
java.lang.Number[] |
getIntervals() |
java.lang.String |
getLabel()
Return the label of the chart.
|
java.lang.Integer |
getLabelHeightAdjust() |
GaugeSeries.LabelPosition |
getLabelPosition() |
java.lang.Number |
getMax() |
java.lang.Number |
getMin() |
java.lang.Integer |
getNeedlePad() |
java.lang.Integer |
getNeedleThickness() |
java.lang.Number |
getPadding() |
java.lang.Boolean |
getPegNeedle() |
java.lang.String |
getRingColor() |
java.lang.Integer |
getRingWidth() |
java.lang.Boolean |
getShowTickLabels() |
java.lang.Boolean |
getShowTicks() |
java.lang.String |
getTickColor() |
java.lang.Integer |
getTickPadding() |
java.lang.Number[] |
getTicks() |
java.lang.Integer |
getTickSpacing() |
java.lang.Number |
getValue() |
void |
setBackground(java.lang.String background) |
void |
setDiameter(java.lang.Integer diameter) |
void |
setHubRadius(java.lang.Integer hubRadius) |
void |
setIntervalColors(java.lang.String[] intervalColors) |
void |
setIntervalInnerRadius(java.lang.Number intervalInnerRadius) |
void |
setIntervalOuterRadius(java.lang.Number intervalOuterRadius) |
void |
setIntervals(java.lang.Number[] intervals) |
void |
setLabel(java.lang.String label)
Set the label of the chart used in the Legend etc.
|
void |
setLabelHeightAdjust(java.lang.Integer labelHeightAdjust) |
void |
setLabelPosition(GaugeSeries.LabelPosition labelPosition) |
void |
setMax(java.lang.Number max) |
void |
setMin(java.lang.Number min) |
void |
setNeedlePad(java.lang.Integer needlePad) |
void |
setNeedleThickness(java.lang.Integer needleThickness) |
void |
setPadding(java.lang.Number padding) |
void |
setPegNeedle(java.lang.Boolean pegNeedle) |
void |
setRingColor(java.lang.String ringColor) |
void |
setRingWidth(java.lang.Integer ringWidth) |
void |
setShowTickLabels(java.lang.Boolean showTickLabels) |
void |
setShowTicks(java.lang.Boolean showTicks) |
void |
setTickColor(java.lang.String tickColor) |
void |
setTickPadding(java.lang.Integer tickPadding) |
void |
setTicks(java.lang.Number[] ticks) |
void |
setTickSpacing(java.lang.Integer tickSpacing) |
void |
setValue(java.lang.Number value) |
clear, getColor, getData, getFill, getFillAlpha, getFillToZero, getLineCap, getLineJoin, getLineWidth, getSeriesColors, getShadow, getShadowAlpha, getShadowAngle, getShadowDepth, getShadowOffset, getShow, getShowMarker, getType, getUseNegativeColors, getXAxis, getYAxis, setColor, setData, setFill, setFillAlpha, setFillToZero, setInCfgObject, setInCfgObject, setInCfgObject, setInCfgObject, setLineCap, setLineJoin, setLineWidth, setSeriesColors, setShadow, setShadowAlpha, setShadowAngle, setShadowDepth, setShadowOffset, setShow, setShowMarker, setType, setUseNegativeColors, setXAxis, setYAxispublic java.lang.String label
public GaugeSeries.LabelPosition labelPosition
public java.lang.String background
public java.lang.String ringColor
public java.lang.String tickColor
public java.lang.Integer ringWidth
public java.lang.Integer labelHeightAdjust
public java.lang.Integer diameter
public java.lang.Number padding
public java.lang.Number value
public java.lang.Number min
public java.lang.Number max
public java.lang.Number intervalOuterRadius
public java.lang.Number intervalInnerRadius
public java.lang.Integer hubRadius
public java.lang.Integer tickSpacing
public java.lang.Integer tickPadding
public java.lang.Integer needleThickness
public java.lang.Integer needlePad
public java.lang.Number[] ticks
public java.lang.Number[] intervals
public java.lang.String[] intervalColors
public java.lang.Boolean showTicks
public java.lang.Boolean showTickLabels
public java.lang.Boolean pegNeedle
public GaugeSeries(java.lang.Number value)
public GaugeSeries()
public JSONBuilder getDataJSON(javax.faces.component.UIComponent component)
getDataJSON in class ChartSeriespublic void encodeRendererOptions(JSONBuilder cfg)
encodeRendererOptions in class ChartSeriespublic JSONBuilder getConfigJSON(javax.faces.component.UIComponent component)
getConfigJSON in class ChartSeriespublic java.lang.Number getValue()
public void setValue(java.lang.Number value)
value - the value of displayed on the gaugepublic java.lang.String getLabel()
ChartSeriesgetLabel in class ChartSeriespublic void setLabel(java.lang.String label)
ChartSeriessetLabel in class ChartSerieslabel - String the label displayed on the gaugepublic java.lang.Boolean getPegNeedle()
public void setPegNeedle(java.lang.Boolean pegNeedle)
pegNeedle - does gauge stop needle just below/above the min/max values if data is below/above min/max, as if the meter is 'pegged'.public java.lang.Boolean getShowTickLabels()
public void setShowTickLabels(java.lang.Boolean showTickLabels)
showTickLabels - does gauge show labels on ticks around the gaugepublic java.lang.Boolean getShowTicks()
public void setShowTicks(java.lang.Boolean showTicks)
showTicks - does gauge show ticks around the gaugepublic java.lang.String[] getIntervalColors()
public void setIntervalColors(java.lang.String[] intervalColors)
intervalColors - array of CSS color definitions used for the intervals of the gaugepublic java.lang.Number[] getIntervals()
public void setIntervals(java.lang.Number[] intervals)
intervals - array of Numbers delineating the intervals of the gaugepublic java.lang.Number[] getTicks()
public void setTicks(java.lang.Number[] ticks)
ticks - array of number around the gauge at which to render ticks. Auto computed on client by default.public java.lang.Integer getNeedlePad()
public void setNeedlePad(java.lang.Integer needlePad)
needlePad - pixels of padding between the needle and the inner edge of the ring when the needle is at the min or max of the gauge.public java.lang.Integer getNeedleThickness()
public void setNeedleThickness(java.lang.Integer needleThickness)
needleThickness - pixels of thickness at the widest point of the needlepublic java.lang.Integer getTickPadding()
public void setTickPadding(java.lang.Integer tickPadding)
tickPadding - pixels of padding of the tick marks to the outer ring and the tick labels to markspublic java.lang.Integer getTickSpacing()
public void setTickSpacing(java.lang.Integer tickSpacing)
tickSpacing - degrees between ticks (if not using explicit ticks)public java.lang.Integer getHubRadius()
public void setHubRadius(java.lang.Integer hubRadius)
hubRadius - pixel radius of the hub at the bottom center of gauge which the needle attaches to. Auto computed on the client by default.public java.lang.Number getIntervalInnerRadius()
public void setIntervalInnerRadius(java.lang.Number intervalInnerRadius)
intervalInnerRadius - pixel radius of the inner circle of the interval ring. Auto computed on the client by default.public java.lang.Number getIntervalOuterRadius()
public void setIntervalOuterRadius(java.lang.Number intervalOuterRadius)
intervalOuterRadius - pixel radius of the outer circle of the interval ring. Auto computed on the client by default.public java.lang.Number getMax()
public void setMax(java.lang.Number max)
max - maximum value on the gauge.public java.lang.Number getMin()
public void setMin(java.lang.Number min)
min - minimum value on the gauge.public java.lang.Number getPadding()
public void setPadding(java.lang.Number padding)
padding - pixels of padding between the meterGauge and plot edges, auto calculated on the client by default.public java.lang.Integer getDiameter()
public void setDiameter(java.lang.Integer diameter)
diameter - outer diameter of the gauge in pixels, auto calculated on the client by default.public java.lang.Integer getLabelHeightAdjust()
public void setLabelHeightAdjust(java.lang.Integer labelHeightAdjust)
labelHeightAdjust - pixels of offset of the label up (-) or down (+) from its default position.public java.lang.Integer getRingWidth()
public void setRingWidth(java.lang.Integer ringWidth)
ringWidth - pixel width of the ring around the guage. Auto computed by default.public java.lang.String getTickColor()
public void setTickColor(java.lang.String tickColor)
tickColor - CSS color definition of the tick marks around the gaugepublic java.lang.String getRingColor()
public void setRingColor(java.lang.String ringColor)
ringColor - CSS color definition of the ring around the gauge and the needlepublic java.lang.String getBackground()
public void setBackground(java.lang.String background)
background - CSS color definition of the background inside the gaugepublic GaugeSeries.LabelPosition getLabelPosition()
public void setLabelPosition(GaugeSeries.LabelPosition labelPosition)
labelPosition - where to position the label- either 'inside' or 'bottom'public ChartSeries.ChartType getDefaultType()
getDefaultType in class ChartSeriesCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.