Package org.primefaces.component.charts
Class ChartRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.component.charts.ChartRenderer
-
- Direct Known Subclasses:
BarChartRenderer,BubbleChartRenderer,DonutChartRenderer,LineChartRenderer,PieChartRenderer,PolarAreaChartRenderer,RadarChartRenderer,ScatterChartRenderer
public class ChartRenderer extends CoreRenderer
-
-
Constructor Summary
Constructors Constructor Description ChartRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidencodeAnimation(javax.faces.context.FacesContext context, Animation animation, boolean hasComma)protected voidencodeAxes(javax.faces.context.FacesContext context, String chartName, String name, List<CartesianAxes> axes)protected voidencodeConfig(javax.faces.context.FacesContext context, ChartModel model)protected voidencodeData(javax.faces.context.FacesContext context, ChartData data)protected voidencodeElements(javax.faces.context.FacesContext context, Elements elements, boolean hasComma)protected voidencodeLegend(javax.faces.context.FacesContext context, Legend legend, boolean hasComma)protected voidencodeMarkup(javax.faces.context.FacesContext context, String clientId, String style, String styleClass)protected voidencodeOptions(javax.faces.context.FacesContext context, String type, Object options)protected voidencodeScaleCommon(javax.faces.context.ResponseWriter writer, AxesScale scale)protected voidencodeScales(javax.faces.context.FacesContext context, String chartName, Object scales, boolean hasComma)protected voidencodeTitle(javax.faces.context.FacesContext context, Title title, boolean hasComma)protected voidencodeTooltip(javax.faces.context.FacesContext context, Tooltip tooltip, boolean hasComma)protected voidwriteLabels(javax.faces.context.FacesContext context, Object labels)-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)- Overrides:
decodein classjavax.faces.render.Renderer
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, String clientId, String style, String styleClass) throws IOException- Throws:
IOException
-
encodeConfig
protected void encodeConfig(javax.faces.context.FacesContext context, ChartModel model) throws IOException- Throws:
IOException
-
encodeData
protected void encodeData(javax.faces.context.FacesContext context, ChartData data) throws IOException- Throws:
IOException
-
writeLabels
protected void writeLabels(javax.faces.context.FacesContext context, Object labels) throws IOException- Throws:
IOException
-
encodeOptions
protected void encodeOptions(javax.faces.context.FacesContext context, String type, Object options) throws IOException- Throws:
IOException
-
encodeScales
protected void encodeScales(javax.faces.context.FacesContext context, String chartName, Object scales, boolean hasComma) throws IOException- Throws:
IOException
-
encodeScaleCommon
protected void encodeScaleCommon(javax.faces.context.ResponseWriter writer, AxesScale scale) throws IOException- Throws:
IOException
-
encodeAxes
protected void encodeAxes(javax.faces.context.FacesContext context, String chartName, String name, List<CartesianAxes> axes) throws IOException- Throws:
IOException
-
encodeElements
protected void encodeElements(javax.faces.context.FacesContext context, Elements elements, boolean hasComma) throws IOException- Throws:
IOException
-
encodeTitle
protected void encodeTitle(javax.faces.context.FacesContext context, Title title, boolean hasComma) throws IOException- Throws:
IOException
-
encodeTooltip
protected void encodeTooltip(javax.faces.context.FacesContext context, Tooltip tooltip, boolean hasComma) throws IOException- Throws:
IOException
-
encodeLegend
protected void encodeLegend(javax.faces.context.FacesContext context, Legend legend, boolean hasComma) throws IOException- Throws:
IOException
-
encodeAnimation
protected void encodeAnimation(javax.faces.context.FacesContext context, Animation animation, boolean hasComma) throws IOException- Throws:
IOException
-
-