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 void
decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeAnimation(javax.faces.context.FacesContext context, Animation animation, boolean hasComma)
protected void
encodeAxes(javax.faces.context.FacesContext context, String chartName, String defaultAxeId, List<CartesianAxes> axes)
protected void
encodeConfig(javax.faces.context.FacesContext context, ChartModel model)
protected void
encodeData(javax.faces.context.FacesContext context, ChartData data)
protected void
encodeElements(javax.faces.context.FacesContext context, Elements elements, boolean hasComma)
protected void
encodeLegend(javax.faces.context.FacesContext context, Legend legend, boolean hasComma)
protected void
encodeMarkup(javax.faces.context.FacesContext context, String clientId, String style, String styleClass)
protected void
encodeOptions(javax.faces.context.FacesContext context, String type, Object options)
protected void
encodeScales(javax.faces.context.FacesContext context, String chartName, Object scales, boolean hasComma)
protected void
encodeTitle(javax.faces.context.FacesContext context, Title title, boolean hasComma)
protected void
encodeTooltip(javax.faces.context.FacesContext context, Tooltip tooltip, boolean hasComma)
protected void
writeLabels(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, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, 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:
decode
in 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
-
encodeAxes
protected void encodeAxes(javax.faces.context.FacesContext context, String chartName, String defaultAxeId, 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
-
-