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 attribute generateImageMap is set to true.
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.
partialTriggersfalsefalsejava.lang.StringThis attribute is meaningful only when the component is used inside an Apache MyFaces Trinidad application.

The IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.

Separate multiple triggers with a space.

Trigger identifiers are relative to the source component for non-NamingContainer components and relative to the parent component for NamingContainer components. Identifiers must account for NamingContainers. You can use a single colon to start the search from the root, or use multiple colons to move up through the NamingContainer. For example, for a non-NamingContainer component, "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc. For a NamingContainer component, "::" will search from the parent component's parent naming container. ":::" will search from the parent component's grandparent naming container.

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.


© Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.