JViews Chart
Tag chartLegend


Chart Legend Faces Component

The chart legend faces component displays the legend of a chartView. The legend displays information about the data sets displayed by the chart. The legend is usually connected to a chart using the viewId attribute.

Usage

<jvcf:chartView
      id="chart"
      data="data/chart.icpr"
      style="width:800px;height:400px"
      waitingImage="data/images/wait.gif"
      imageFormat="PNG"/>
...
<jvcf:chartLegend
      id="legend"
      viewId="chart"
      style="width:180px;height:400px"
      layout="vertical"
      waitingImage="data/images/wait.gif"
      backgroundColor="#FFFFFF"/>

DHTML - JavaScript Types

IlvChartLegendProxy

JSF Component Class

IlvChartDHTMLLegend



Tag Information
Tag Classilog.views.chart.faces.dhtml.taglib.IlvChartLegendTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameLegend

Attributes
NameRequiredRequest-timeTypeDescription
backgroundColorfalsefalsejava.lang.StringThe background color of the generated image.
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean. If this attribute is set, the tag does not create the component itself but retrieves it from the bean property. This attribute must be a value binding.
errorMessagefalsefalsejava.lang.StringThe message displayed when an error occurs while the image is being loaded.
generateImageMapfalsefalsejava.lang.StringTells the component if it should generate an image map .The image map is active when set to visible.
heightfalsefalsejava.lang.StringThe desired height in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute.
idfalsefalsejava.lang.StringThe ID of this component.
imageMapGeneratorfalsefalsejava.lang.StringThe image map generator. If the generateImageMap property is true, this generator will be invoked to dynamically create the image map.
imageMapGeneratorClassfalsefalsejava.lang.StringThe class name of the image map generator. This generator is invoked if the attributegenerateImageMapis set totrue.
imageMapVisiblefalsefalsejava.lang.StringShows or hides the image map.
layoutfalsefalsejava.lang.StringThe layout direction for the legend items displayed by this legend. Acceptable values are 'vertical' or 'horizontal'.
onCapabilitiesLoadedfalsefalsejava.lang.StringAn optional JavaScript handler called when the capabilities of the component are loaded. In this code the 'view' variable can be used and represent the DHTML view instance. 'view.JSFRef' represents the JavaScript proxy of the JSF component.
onImageLoadedfalsefalsejava.lang.StringAn optional JavaScript handler called when the image is loaded. In this code the 'view' variable can be used and represent the DHTML view instance. 'view.JSFRef' represents the JavaScript proxy of the JSF component.
resizablefalsefalsejava.lang.StringSpecifies whether the chart view can be resized or not.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered.
styleClassfalsefalsejava.lang.StringSpace separated list of CSS style class(es) to be applied when this element is rendered.
viewfalsefalsejava.lang.StringThe binding to the view to which the legend is connected.
viewIdfalsefalsejava.lang.StringThe ID of the view connected to this legend.
waitingImagefalsefalsejava.lang.StringThe URL of the image displayed when the component is waiting for a server response. The image may be an animated GIF.
widthfalsefalsejava.lang.StringThe desired width in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute.

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.   Documentation homepage.