q
Tag chart


The Chart component is used to present data in a graphical form enabling the user to see trends, comparisons, or percentage of the whole. The component constitutes the entire chart area, including the chart itself and all its elements (title, legend, background). The component is based on the JFreeChart engine and exposes a friendly API with JSF-specific features and enhancements. Child tags: pieChartView, lineChartView, barChartView, chartTitle, chartLegend.


Tag Information
Tag Classteamdev.jsf.taglib.chart.ChartJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalseteamdev.jsf.component.chart.ChartonlynullA value-binding expression that associates the Chart component with a backing bean property.
heightfalsejava.lang.StringtruenullThe height of the Chart component. Can be specified in any units (px, mm, em, etc.).
idfalseintfalsenullThe component identifier.
legendVisiblefalsebooleanfalsetrueA flag that indicates whether or not the chart legend is visible.
modelfalseteamdev.jsf.component.chart.ChartModelonlynullA set of data to be used for processing and displaying in the chart.
renderedfalsebooleantruetrueA flag that indicates whether or not the component is visible.
stylefalsejava.lang.StringtruenullA style for the entire Chart component.
titleTextfalsejava.lang.StringtruenullText that is shown as the chart title above the chart.
viewfalseteamdev.jsf.component.chart.ChartViewTypetruenullSpecifies the chart type. There are three types of chart available: pie, bar, line.
Available values are:
"line"
"bar"
"pie"
widthfalseinttruenullThe width of the Chart component. Can be specified in any units (px, mm, em, etc.).

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.