public class ChartComponent extends MasterComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
DEFAULT_RENDERER |
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY| Constructor and Description |
|---|
ChartComponent() |
| Modifier and Type | Method and Description |
|---|---|
ChartModel |
getChartModel()
Returns the Java object holding the chart data and data configuration.
|
String |
getFamily() |
Boolean |
getGridX()
Returns whether to show the grid along the x axis.
|
Boolean |
getGridY()
Returns whether to show the grid along the y axis.
|
String |
getLegendPosition()
Returns where to show the legend.
|
Boolean |
getShowLegend()
Returns whether to show the legend.
|
String |
getTitle()
Returns the title of the chart.
|
String |
getType()
Returns the type of chart to render.
|
void |
setChartModel(ChartModel model)
Sets the Java object holding the chart data and data configuration.
|
void |
setGridX(Boolean gridX)
Sets whether to show the grid along the x axis.
|
void |
setGridY(Boolean gridY)
Sets whether to show the grid along the y axis.
|
void |
setLegendPosition(String legendPosition)
Sets where to show the legend.
|
void |
setShowLegend(Boolean showLegend)
Sets whether to show the legend.
|
void |
setTitle(String title)
Sets the title of the chart.
|
void |
setType(String type)
Sets the type of chart to render.
|
getStyle, getStyleClass, setStyle, setStyleClassaddClientBehavior, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER
public String getFamily()
getFamily in class UIComponentpublic Boolean getGridX()
public void setGridX(Boolean gridX)
gridX - whether to show the grid along the x axispublic Boolean getShowLegend()
public void setShowLegend(Boolean showLegend)
showLegend - whether to show the legendpublic Boolean getGridY()
public void setGridY(Boolean gridY)
gridY - whether to show the grid along the y axispublic String getType()
public void setType(String type)
type - the type of chart to renderpublic String getTitle()
public void setTitle(String title)
title - the title of the chartpublic String getLegendPosition()
public void setLegendPosition(String legendPosition)
legendPosition - where to show the legendpublic ChartModel getChartModel()
public void setChartModel(ChartModel model)
model - the Java object holding the chart data and data configurationCopyright © 2015 Joseph Hendrix