Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces
12c (12.2.1.1)

E67022-02

<dvt:chartLegend>

dvt:chartLegend chartLegend chart legend

UIComponent class: oracle.adf.view.faces.bi.component.chart.UILegend
Component type: oracle.dss.adf.chart.Legend

Defines properties for the chart legend.

Events

Type Phases Description
org.apache.myfaces.trinidad.event.AttributeChangeEvent Invoke Application,
Apply Request Values
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change event might include the width of a column that supported client-side resizing.

Attributes

Name Type Supports EL? Description
attributeChangeListener javax.el.MethodExpression Only EL a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
binding oracle.adf.view.faces.bi.component.chart.UILegend Only EL an EL reference that will store the component instance on a bean. This can be used to give programmatic access to a component from a backing bean, or to move creation of the component to a backing bean.
id String No Specifies the identifier for the component
maximumSize Object Yes Defines the maximum size of the legend in pixels or percent.
position String Yes Valid Values: auto, start, end, bottom, top
Default Value: auto

Specifies the position of the legend within the chart. By default, the legend will be placed on the side or bottom, based on the size of the chart and the legend contents.
referenceObjectTitle String Yes Specifies the title for the reference object section of the legend, if present.
rendered boolean Yes Default Value: true

Specifies whether the component is rendered.
scrolling String Yes Valid Values: asNeeded, off
Default Value: asNeeded

Specifies whether scrolling is enabled for the legend.
size Object Yes Defines the size of the legend in pixels or percent.
symbolHeight Number Yes Defines the height of the legend symbols (markers or lines) in pixels.
symbolWidth Number Yes Defines the width of the legend symbols (markers or lines) in pixels.
title String Yes Specifies the title for the chart legend.
titleHalign String Yes Valid Values: start, end, center
Default Value: start

The horizontal alignment of the legend title.