com.infragistics.faces.chart.taglib.html
Class LegendTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.infragistics.faces.shared.taglib.ModelComponentTag
com.infragistics.faces.chart.taglib.html.LegendTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class LegendTag
- extends ModelComponentTag
JSP Tags For The legend Component.
A legend displays tabular information related to the data presented in the chart component.
The legend table may contain as many columns as required by the user. Columns are added by defining
column headers in the Legend itself, or by defining column entries in the individual LegendItems.
For the most part, the legend is populated automatically with little or no user intervention.
Use
To use the component in a JSP page, declare the taglib:
<%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>
and instantiate:
<ig:legend >
Attributes
| Name | Type | Default | Description |
| autoItems | boolean | "true" | The flag to indicate that this legend should be automatically populated from chart series/datapoints. |
| headers | String | "null" | The collection of column header strings. |
| headerStyleClass | String | ""legendHeader"" | The CSS style class applied to this legend's column headers. |
| itemStyleClass | String | ""legendItem"" | The default style class for nested legend items. |
| position | Position | "Position.RIGHT" | The automatic layout positioning flag. |
| style | String | "" | The CSS style applied when this legend is rendered. |
| styleClass | String | ""legend"" | The CSS style applied when this legend is rendered. |
- See Also:
- Serialized Form
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegendTag
public LegendTag()
Constructor
release
public void release()
- Specified by:
release in interface javax.servlet.jsp.tagext.Tag- Overrides:
release in class ModelComponentTag
setAutoItems
public void setAutoItems(java.lang.String newValue)
setHeaders
public void setHeaders(java.lang.String newValue)
setHeaderStyleClass
public void setHeaderStyleClass(java.lang.String newValue)
setItemStyleClass
public void setItemStyleClass(java.lang.String newValue)
setPosition
public void setPosition(java.lang.String newValue)
setStyle
public void setStyle(java.lang.String newValue)
setStyleClass
public void setStyleClass(java.lang.String newValue)
getNewInstance
public java.lang.Object getNewInstance()
- Description copied from class:
ModelComponentTag
- This method must be implemented by subclasses and return an instance
of a CompositeProperty
- Specified by:
getNewInstance in class ModelComponentTag
- Returns: