|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icefaces.ace.model.chart.ChartSeries
org.icefaces.ace.model.chart.CartesianSeries
public class CartesianSeries
| Nested Class Summary | |
|---|---|
static class |
CartesianSeries.CartesianType
|
| Nested classes/interfaces inherited from class org.icefaces.ace.model.chart.ChartSeries |
|---|
ChartSeries.ChartType |
| Constructor Summary | |
|---|---|
CartesianSeries()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object y)
Add an point as a y-value with a x-value relative to the position in this series and the value at an accompanying index in a separately determined list of x-axis ticks. |
void |
add(java.lang.Object x,
java.lang.Object y)
Add an point as an explicit x and y value pair. |
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 component)
Used by the ChartRenderer to produce a JSON representation of the configuration of this series. |
ChartSeries.ChartType |
getDefaultType()
|
java.lang.Boolean |
getDragable()
Get if the points of this series are draggable. |
DragConstraintAxis |
getDragConstraintAxis()
Get the configured axis that dragging of points is confined to. |
LinePattern |
getLinePattern()
Get the pattern of stroke applied to the lines of this series. |
java.lang.String[] |
getPointLabelList()
Get the list of labels for the points of this series. |
java.lang.Boolean |
getPointLabelStacked()
Get if the point labels are to be rendered in a stacked plot. |
java.lang.Integer |
getPointLabelTolerance()
Set the distances that point labels must be from a boundary if they are to be rendered. |
java.lang.Boolean |
getSmooth()
Get if the lines of this series have curves rendered between points rather than straight line segments. |
java.lang.Boolean |
isHorizontalBar()
Determine if this series is bar type, is it horizontal? |
java.lang.Boolean |
isPointLabels()
Get if this series has labels rendered near each point |
void |
setDragable(java.lang.Boolean dragable)
Enable dragging for the points of this series. |
void |
setDragConstraintAxis(DragConstraintAxis dragConstraintAxis)
Set the configured axis that dragging of points is confined to. |
void |
setHorizontalBar(java.lang.Boolean horizontalBar)
Set if this bar series is a horizontal type. |
void |
setLinePattern(LinePattern linePattern)
Set the pattern of stroke applied to the lines of this series. |
void |
setPointLabelList(java.lang.String[] pointLabelList)
Set the list of labels for the points of this series. |
void |
setPointLabels(java.lang.Boolean pointLabels)
Set if this series has labels rendered near each point. |
void |
setPointLabelStacked(java.lang.Boolean pointLabelStacked)
Set if the point labels are to be rendered in a stacked plot. |
void |
setPointLabelTolerance(java.lang.Integer pointLabelTolerance)
Get the distance that point labels must be from a boundary if they are to be rendered, |
void |
setSmooth(java.lang.Boolean smooth)
Set if the lines of this series have curves rendered between points rather than straight line segments. |
| Methods inherited from class org.icefaces.ace.model.chart.ChartSeries |
|---|
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, setLabel, setLineCap, setLineJoin, setLineWidth, setSeriesColors, setShadow, setShadowAlpha, setShadowAngle, setShadowDepth, setShadowOffset, setShow, setShowMarker, setType, setUseNegativeColors, setXAxis, setYAxis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CartesianSeries()
| Method Detail |
|---|
public ChartSeries.ChartType getDefaultType()
getDefaultType in class ChartSeriespublic void add(java.lang.Object y)
y - the value of the point
public void add(java.lang.Object x,
java.lang.Object y)
x - the x coordinate of the pointy - the y coordinate of the pointpublic JSONBuilder getDataJSON(javax.faces.component.UIComponent component)
getDataJSON in class ChartSeriespublic JSONBuilder getConfigJSON(javax.faces.component.UIComponent component)
getConfigJSON in class ChartSeriescomponent -
public java.lang.Boolean isHorizontalBar()
public void setHorizontalBar(java.lang.Boolean horizontalBar)
horizontalBar - bar series horizontalpublic java.lang.Boolean isPointLabels()
public void setPointLabels(java.lang.Boolean pointLabels)
pointLabels - series point labellingpublic java.lang.Integer getPointLabelTolerance()
public void setPointLabelTolerance(java.lang.Integer pointLabelTolerance)
pointLabelTolerance - distance in pixelspublic java.lang.Boolean getPointLabelStacked()
public void setPointLabelStacked(java.lang.Boolean pointLabelStacked)
pointLabelStacked - if the labels are intended for a stacked plotpublic java.lang.String[] getPointLabelList()
public void setPointLabelList(java.lang.String[] pointLabelList)
pointLabelList - list of labels to be applied to points of associated indexpublic java.lang.Boolean getDragable()
public void setDragable(java.lang.Boolean dragable)
dragable - if the points of this series are dragale.public DragConstraintAxis getDragConstraintAxis()
public void setDragConstraintAxis(DragConstraintAxis dragConstraintAxis)
dragConstraintAxis - enum representation of the X, Y, or no axis.public LinePattern getLinePattern()
public void setLinePattern(LinePattern linePattern)
linePattern - enum representation of the stroke typepublic java.lang.Boolean getSmooth()
public void setSmooth(java.lang.Boolean smooth)
smooth - if the lines of this series are smoothed
|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||