public class BubbleSeries extends ChartSeries
| Modifier and Type | Class and Description |
|---|---|
static class |
BubbleSeries.BubbleType |
ChartSeries.ChartType| Constructor and Description |
|---|
BubbleSeries() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object x,
java.lang.Object y,
int magnitude)
Add a new bubble to this set of bubbles.
|
void |
add(java.lang.Object x,
java.lang.Object y,
int magnitude,
java.lang.String label)
Add a new bubble to this set of bubbles.
|
void |
encodeRendererOptions(JSONBuilder cfg) |
java.lang.Boolean |
getAutoscaleBubbles()
Get if the series scales the bubbles based on plot scale.
|
java.lang.Double |
getAutoscaleMultiplier()
Get a multiplier to modify the size of autoscaled bubble radius
|
java.lang.Double |
getAutoscalePointsFactor()
Get factor which decreases bubble size based on how many bubbles are
on on the chart.
|
java.lang.Integer |
getBubbleAlpha()
Get the percentage of opacity for the bubble points.
|
JSONBuilder |
getConfigJSON(javax.faces.component.UIComponent component)
Used by the ChartRenderer to produce a JSON representation of the data of this series.
|
JSONBuilder |
getDataJSON(javax.faces.component.UIComponent chart)
Used by the ChartRenderer to produce a JSON representation of the configuration of this series.
|
ChartSeries.ChartType |
getDefaultType() |
java.lang.Boolean |
getEscapeHtml()
Get if the series escapes HTML in the bubble labels.
|
java.lang.Integer |
getHighlightAlpha()
Get the percentage of opacity for a bubble point when hovered over.
|
java.lang.String[] |
getHighlightColors()
Get the list of CSS color definitions to be applied to the bubbles when highlighted.
|
java.lang.Boolean |
getHighlightMouseDown()
Get if the highlighter is triggered when using a mouse button over a bubble.
|
java.lang.Boolean |
getHighlightMouseOver()
Get if the highlighter is triggered when mousing over a bubble.
|
java.lang.Boolean |
getShowLabels()
Get if the labels are shown on each bubble.
|
java.lang.Boolean |
getVaryBubbleColors()
Get if this series will vary rendered bubble colors.
|
java.lang.Boolean |
isBubbleGradients()
Get if this series colors the bubbles with gradients instead of normal colors.
|
void |
setAutoscaleBubbles(java.lang.Boolean autoscaleBubbles)
Set if the series scales the bubbles based on plot scale.
|
void |
setAutoscaleMultiplier(java.lang.Double autoscaleMultiplier)
Set a multiplier to modify the size of autoscaled bubble radius
|
void |
setAutoscalePointsFactor(java.lang.Double autoscalePointsFactor)
Set factor which decreases bubble size based on how many bubbles are
on on the chart.
|
void |
setBubbleAlpha(java.lang.Integer bubbleAlpha)
Set the percentage of opacity for the bubble points.
|
void |
setBubbleGradients(java.lang.Boolean bubbleGradients)
Get if this series colors the bubbles with gradients instead of normal colors.
|
void |
setEscapeHtml(java.lang.Boolean escapeHtml)
Set if the series escapes HTML in the bubble labels.
|
void |
setHighlightAlpha(java.lang.Integer highlightAlpha)
Set the percentage of opacity for a bubble point when hovered over.
|
void |
setHighlightColors(java.lang.String[] highlightColors)
Set the list of CSS color definitions to be applied to the bubbles when highlighted.
|
void |
setHighlightMouseDown(java.lang.Boolean highlightMouseDown)
Set if the highlighter is triggered when using a mouse button over a bubble.
|
void |
setHighlightMouseOver(java.lang.Boolean highlightMouseOver)
Set if the highlighter is triggered when mousing over a bubble.
|
void |
setShowLabels(java.lang.Boolean showLabels)
Set if the labels are shown on each bubble.
|
void |
setVaryBubbleColors(java.lang.Boolean varyBubbleColors)
Set if this series will vary rendered bubble colors.
|
clear, getColor, getData, getFill, getFillAlpha, getFillToZero, getLabel, getLineCap, getLineJoin, getLineWidth, getSeriesColors, getShadow, getShadowAlpha, getShadowAngle, getShadowDepth, getShadowOffset, getShow, getShowMarker, getType, getUseNegativeColors, getXAxis, getYAxis, setColor, setData, setFill, setFillAlpha, setFillToZero, setInCfgObject, setInCfgObject, setInCfgObject, setInCfgObject, setLabel, setLineCap, setLineJoin, setLineWidth, setSeriesColors, setShadow, setShadowAlpha, setShadowAngle, setShadowDepth, setShadowOffset, setShow, setShowMarker, setType, setUseNegativeColors, setXAxis, setYAxispublic void add(java.lang.Object x,
java.lang.Object y,
int magnitude)
x - x tick of the bubbley - y tick of the bubblemagnitude - the area of the bubblepublic void add(java.lang.Object x,
java.lang.Object y,
int magnitude,
java.lang.String label)
x - x tick of the bubbley - y tick of the bubblemagnitude - the area of the bubblelabel - the label of this bubblepublic JSONBuilder getDataJSON(javax.faces.component.UIComponent chart)
getDataJSON in class ChartSerieschart - public void encodeRendererOptions(JSONBuilder cfg)
encodeRendererOptions in class ChartSeriespublic JSONBuilder getConfigJSON(javax.faces.component.UIComponent component)
getConfigJSON in class ChartSeriescomponent - public ChartSeries.ChartType getDefaultType()
getDefaultType in class ChartSeriespublic java.lang.Boolean isBubbleGradients()
public void setBubbleGradients(java.lang.Boolean bubbleGradients)
bubbleGradients - enable gradient booleanpublic java.lang.Integer getBubbleAlpha()
public void setBubbleAlpha(java.lang.Integer bubbleAlpha)
bubbleAlpha - integer value 0 to 100public java.lang.Boolean getShowLabels()
public void setShowLabels(java.lang.Boolean showLabels)
showLabels - show bubble label booleanpublic java.lang.Integer getHighlightAlpha()
public void setHighlightAlpha(java.lang.Integer highlightAlpha)
highlightAlpha - integer value 0 to 100public java.lang.Boolean getVaryBubbleColors()
public void setVaryBubbleColors(java.lang.Boolean varyBubbleColors)
varyBubbleColors - public java.lang.Boolean getEscapeHtml()
public void setEscapeHtml(java.lang.Boolean escapeHtml)
escapeHtml - enable label html escaping booleanpublic java.lang.Boolean getAutoscaleBubbles()
public void setAutoscaleBubbles(java.lang.Boolean autoscaleBubbles)
autoscaleBubbles - scale bubble by plot size booleanpublic java.lang.Double getAutoscaleMultiplier()
public void setAutoscaleMultiplier(java.lang.Double autoscaleMultiplier)
autoscaleMultiplier - positive double valuepublic java.lang.Double getAutoscalePointsFactor()
public void setAutoscalePointsFactor(java.lang.Double autoscalePointsFactor)
autoscalePointsFactor - double valuepublic java.lang.Boolean getHighlightMouseOver()
public void setHighlightMouseOver(java.lang.Boolean highlightMouseOver)
highlightMouseOver - mouse over highlight enabledpublic java.lang.Boolean getHighlightMouseDown()
public void setHighlightMouseDown(java.lang.Boolean highlightMouseDown)
highlightMouseDown - mouse button highlight enabledpublic java.lang.String[] getHighlightColors()
public void setHighlightColors(java.lang.String[] highlightColors)
highlightColors - array of String CSS color definitionsCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.