|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for all classes which support chart attributes.
Classes which implement this interface allow users to attach arbitrary porperties intended for use either by the charting components themselves or by user event listeners.
A number of attributes (referred to as the canonical attributes) are predefined by the charting components, with typesafe accessor methods defined in this interface which should be called in preference to the generic setChartAttribute(), getChartAttribute() functions.
| Field Summary | |
static java.lang.String |
CLOSE
|
static java.lang.String |
CLUSTER_WIDTH
|
static java.lang.String |
COLUMN_WIDTH
|
static java.lang.String |
DATA_STYLE_CLASS
|
static java.lang.String |
EXPLODED_RADIUS
|
static java.lang.String |
hello
|
static java.lang.String |
HIGH
|
static java.lang.String |
INNER_RADIUS
|
static java.lang.String |
LEGEND_CAPTION
|
static java.lang.String |
LEGEND_CAPTION_STYLE_CLASS
|
static java.lang.String |
LOW
|
static java.lang.String |
MARKER_BULLET_SIZE
|
static java.lang.String |
MARKER_BULLET_STYLE_CLASS
|
static java.lang.String |
MARKER_BULLET_TYPE
|
static java.lang.String |
MARKER_BULLET_VISIBLE
|
static java.lang.String |
MARKER_CAPTION
|
static java.lang.String |
MARKER_CAPTION_STYLE_CLASS
|
static java.lang.String |
MARKER_CAPTION_VISIBLE
|
static java.lang.String |
OPEN
|
static java.lang.String |
RADIUS
|
static java.lang.String |
SHAPE_TYPE
|
static java.lang.String |
START_ANGLE
|
static java.lang.String |
TOOLTIP_CAPTION
|
static java.lang.String |
VALUE
|
| Method Summary | |
java.lang.Object |
getChartAttribute(java.lang.String key)
Returns the named attribute value. |
java.lang.Number |
getClose()
Returns the numerical "close" value.<p> The close value is used by candlestick and OHLC charts. |
java.lang.Number |
getClusterWidth()
Returns the percentage of the available cluster width used to create value clusters.<p> Setting a value of 100% causes adjacent clusters to be packed contiguously, a typical value is 80%. |
java.lang.Number |
getColumnWidth()
Returns the percentage of the available column width used to create columns.<p> A value of 100% causes adjacent columns to be packed contiguously. |
java.lang.String |
getDataStyleClass()
Returns the CSS style class that is applied to data points or series. |
java.lang.Number |
getExplodedRadius()
Returns the percentage of available space used to offset pie and donut segments. |
java.lang.Number |
getHigh()
Returns the numerical "high" value.<p> The high value is used by range, candlestick and OHLC charts. |
java.lang.Number |
getInnerRadius()
Returns the percentage of available space used for donut holes. |
java.lang.String |
getLegendCaption()
Returns the legend label for data points and series in automatic legend fill mode. |
java.lang.String |
getLegendCaptionStyleClass()
Returns the CSS style class applied to automatically generated legend labels. |
java.lang.Number |
getLow()
Returns the numerical "low" value.<p> The low value is used by range, candlestick and OHLC charts. |
java.lang.Number |
getMarkerBulletSize()
Returns the marker size (in pixels). |
java.lang.String |
getMarkerBulletStyleClass()
Returns the CSS style class applied to datapoint bullets. |
java.lang.String |
getMarkerBulletType()
Returns the datapoint bullet shape. |
java.lang.Boolean |
getMarkerBulletVisible()
Returns the datapoint bullet visibility flag. |
java.lang.String |
getMarkerCaption()
Returns the datapoint label string. |
java.lang.String |
getMarkerCaptionStyleClass()
Returns the CSS style class applied to datapoint labels. |
java.lang.Boolean |
getMarkerCaptionVisible()
Returns the datapoint label string visibility flag. |
java.lang.Number |
getOpen()
Returns the numerical "open" value<p> The open value is used by candlestick and OHLC charts. |
java.lang.Number |
getRadius()
Returns the percentage of available space used to create pie and donut segments. |
java.lang.String |
getShapeType()
Returns the shape applied to datapoints and series. |
java.lang.Number |
getStartAngle()
Returns the clockwise angle in degrees from twelve o'clock for the zero value in pie and dount charts. |
java.lang.String |
getTooltipCaption()
Returns the tooltip string for datapoints and series. |
java.lang.Number |
getValue()
Returns the numerical "value" value.<p> The value is used by column, area and line charts. |
void |
setChartAttribute(java.lang.String key,
java.lang.Object value)
Set an arbitrary named attribute to an attribute value. |
void |
setClose(java.lang.Number close)
Sets the numerical "close" value.<p> The close value is used by candlestick and OHLC charts. |
void |
setClusterWidth(java.lang.Number clusterWidth)
Sets the percentage of the available cluster width used to create value clusters.<p> Setting a value of 100% causes adjacent clusters to be packed contiguously, a typical value is 80%. |
void |
setColumnWidth(java.lang.Number columnWidth)
Sets the percentage of the available column width used to create columns.<p> A value of 100% causes adjacent columns to be packed contiguously. |
void |
setDataStyleClass(java.lang.String dataStyleClass)
Sets the CSS style class that is applied to data points or series. |
void |
setExplodedRadius(java.lang.Number explodedRadius)
Sets the percentage of available space used to offset pie and donut segments. |
void |
setHigh(java.lang.Number high)
Sets the numerical "high" value.<p> The high value is used by range, candlestick and OHLC charts. |
void |
setInnerRadius(java.lang.Number innerRadius)
Sets the percentage of available space used for donut holes. |
void |
setLegendCaption(java.lang.String legendCaption)
Sets the legend label for data points and series in automatic legend fill mode. |
void |
setLegendCaptionStyleClass(java.lang.String legendCaptionStyleClass)
Sets the CSS style class applied to automatically generated legend labels. |
void |
setLow(java.lang.Number low)
Sets the numerical "low" value.<p> The low value is used by range, candlestick and OHLC charts. |
void |
setMarkerBulletSize(java.lang.Number markerBulletSize)
Sets the marker size (in pixels). |
void |
setMarkerBulletStyleClass(java.lang.String markerBulletStyleClass)
Sets the CSS style class applied to datapoint bullets. |
void |
setMarkerBulletType(java.lang.String markerBulletType)
Sets the datapoint bullet shape. |
void |
setMarkerBulletVisible(java.lang.Boolean markerBulletVisible)
Sets the datapoint bullet visibility flag. |
void |
setMarkerCaption(java.lang.String markerCaption)
Sets the datapoint label string. |
void |
setMarkerCaptionStyleClass(java.lang.String markerCaptionStyleClass)
Sets the CSS style class applied to datapoint labels. |
void |
setMarkerCaptionVisible(java.lang.Boolean markerCaptionVisible)
Sets the datapoint label string visibility flag. |
void |
setOpen(java.lang.Number open)
Sets the numerical "open" value<p> The open value is used by candlestick and OHLC charts. |
void |
setRadius(java.lang.Number radius)
Sets the percentage of available space used to create pie and donut segments. |
void |
setShapeType(java.lang.String shapeType)
Sets the shape applied to datapoints and series. |
void |
setStartAngle(java.lang.Number startAngle)
Sets the clockwise angle in degrees from twelve o'clock for the zero value in pie and dount charts. |
void |
setTooltipCaption(java.lang.String tooltipCaption)
Sets the tooltip string for datapoints and series. |
void |
setValue(java.lang.Number value)
Sets the numerical "value" value.<p> The value is used by column, area and line charts. |
| Field Detail |
public static final java.lang.String hello
public static final java.lang.String CLOSE
public static final java.lang.String EXPLODED_RADIUS
public static final java.lang.String HIGH
public static final java.lang.String INNER_RADIUS
public static final java.lang.String LEGEND_CAPTION
public static final java.lang.String LEGEND_CAPTION_STYLE_CLASS
public static final java.lang.String LOW
public static final java.lang.String MARKER_BULLET_STYLE_CLASS
public static final java.lang.String MARKER_BULLET_SIZE
public static final java.lang.String MARKER_BULLET_TYPE
public static final java.lang.String MARKER_BULLET_VISIBLE
public static final java.lang.String MARKER_CAPTION
public static final java.lang.String MARKER_CAPTION_STYLE_CLASS
public static final java.lang.String MARKER_CAPTION_VISIBLE
public static final java.lang.String OPEN
public static final java.lang.String RADIUS
public static final java.lang.String SHAPE_TYPE
public static final java.lang.String START_ANGLE
public static final java.lang.String TOOLTIP_CAPTION
public static final java.lang.String VALUE
public static final java.lang.String CLUSTER_WIDTH
public static final java.lang.String COLUMN_WIDTH
public static final java.lang.String DATA_STYLE_CLASS
| Method Detail |
public java.lang.Number getClose()
public void setClose(java.lang.Number close)
close - public java.lang.Number getClusterWidth()
public void setClusterWidth(java.lang.Number clusterWidth)
clusterWidth - public java.lang.Number getColumnWidth()
public void setColumnWidth(java.lang.Number columnWidth)
columnWidth - public java.lang.String getDataStyleClass()
public void setDataStyleClass(java.lang.String dataStyleClass)
dataStyleClass - public java.lang.Number getExplodedRadius()
public void setExplodedRadius(java.lang.Number explodedRadius)
explodedRadius - public java.lang.Number getHigh()
public void setHigh(java.lang.Number high)
high - public java.lang.Number getInnerRadius()
public void setInnerRadius(java.lang.Number innerRadius)
innerRadius - public java.lang.String getLegendCaption()
public void setLegendCaption(java.lang.String legendCaption)
legendCaption - public java.lang.String getLegendCaptionStyleClass()
public void setLegendCaptionStyleClass(java.lang.String legendCaptionStyleClass)
legendCaptionStyleClass - public java.lang.Number getLow()
public void setLow(java.lang.Number low)
low - public java.lang.Number getMarkerBulletSize()
public void setMarkerBulletSize(java.lang.Number markerBulletSize)
markerBulletSize - public java.lang.String getMarkerBulletStyleClass()
public void setMarkerBulletStyleClass(java.lang.String markerBulletStyleClass)
markerBulletStyleClass - public java.lang.String getMarkerBulletType()
public void setMarkerBulletType(java.lang.String markerBulletType)
markerBulletType - public java.lang.Boolean getMarkerBulletVisible()
public void setMarkerBulletVisible(java.lang.Boolean markerBulletVisible)
markerBulletVisible - public java.lang.String getMarkerCaption()
public void setMarkerCaption(java.lang.String markerCaption)
markerCaption - public java.lang.String getMarkerCaptionStyleClass()
public void setMarkerCaptionStyleClass(java.lang.String markerCaptionStyleClass)
markerCaptionStyleClass - public java.lang.Boolean getMarkerCaptionVisible()
public void setMarkerCaptionVisible(java.lang.Boolean markerCaptionVisible)
markerCaptionVisible - public java.lang.Number getOpen()
public void setOpen(java.lang.Number open)
open - public java.lang.Number getRadius()
public void setRadius(java.lang.Number radius)
radius - public java.lang.String getShapeType()
public void setShapeType(java.lang.String shapeType)
shapeType - public java.lang.Number getStartAngle()
public void setStartAngle(java.lang.Number startAngle)
startAngle - public java.lang.String getTooltipCaption()
public void setTooltipCaption(java.lang.String tooltipCaption)
tooltipCaption - public java.lang.Number getValue()
public void setValue(java.lang.Number value)
value -
public void setChartAttribute(java.lang.String key,
java.lang.Object value)
key - the attribute name. may not be null.value - the attribute value. may be null, in which case the named attribute is removed from the object.public java.lang.Object getChartAttribute(java.lang.String key)
key - the attribute name. may not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||