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

E81450-01

<dvt:sparkItem>

dvt:sparkItem sparkItem spark item

UIComponent class: oracle.adf.view.faces.bi.component.graph.UISparkItem
Component type: oracle.dss.trinidad.graph.SparkItem

Overview

Use the <dvt:sparkItem> tag to represent and provide data for a bar or marker in an ADF spark chart. The <dvt:sparkItem> tag accepts EL Expressions for its values, and is particularly useful when stamped within an af:iterator or af:forEach tag.

Relationship with other tags

The <dvt:sparkItem> tag is typically a child of the <dvt:sparkChart> tag.

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.graph.UISparkItem Only EL

Specifies a binding reference to store a specific instance of UISparkItem from a backing bean. Set this attribute only to access code in a backing bean.

borderColor String Yes Specifies the border color of the bar or data point. For line and area chart types, markerDisplayed must be enabled to make the data items visible.
color String Yes Specifies the color of the bar or data point. For line and area chart types, markerDisplayed must be enabled to make the data items visible.
date java.util.Date Yes Specifies the date for this item. The date should only be specified if the interval between data items is irregular. If the data appears at regular intervals, the date should not be specified.
floatValue Object Yes Specifies the float value for this item in a floating bar spark chart. If the spark chart subType is not floatingBar, this value is ignored. The value should ideally be specified as a java.lang.Number.
id String No Specifies the identifier for the component
markerDisplayed boolean Yes Default Value: false

Specifies whether a marker should be displayed for this data item.
markerShape String Yes Valid Values: auto, square, circle, diamond, plus, triangleDown, triangleUp
Default Value: auto

Specifies the shape of the data item marker.
markerSize Number Yes Specifies the size of the data item marker.
rendered boolean Yes Specifies whether the component is rendered.
value Object Yes Specifies the value for this spark item. The value should ideally be specified as a java.lang.Number.