Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces
11g Release 1 (11.1.1.9.0)

E52938-01

<dvt:sliceLabel>

sliceLabel slice label


Use the sliceLabel tag to specify the characteristics of the labels that describes slices of a pie or ring graph. Each slice represents a data value.

Relationship with other tags

The sliceLabel tag must be a child of either the graph, funnelGraph, or pieGraph component.

The sliceLabel tag can have the following child tags:

Note that the use of sliceLabel's <dvt:numberFormat> tag has been deprecated. Users are recommended to use its <af:convertNumber> child tag instead:

Example

The following example shows the XML for a sliceLabel tag.

   <dvt:graph> 
      <dvt:sliceLabel textType="LD_PERCENT"/>
   </dvt:graph>
   

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
textType java.lang.String no Specifies the type of contents to appear in a slice label. Valid values are:
  • LD_TEXT - Slice labels contain text only.
  • LD_VALUE - Slice labels contain a value.
  • LD_PERCENT - (Default) Slice labels contain the percent that the slice represents in the graph.
  • LD_TEXT_PERCENT - Slice labels contain both text and percent.
rendered boolean no Use to indicate whether the slice label is rendered. Valid values are "true" (Default) or "false".
scaling java.lang.String no Specifies the scale factor of this label Valid values are:
  • auto - Automatically scales the number.
  • none - Scales the number to units
  • thousand - Scales the number to thousands.
  • million - Scales the number to millions.
  • billion - Scale the number to billions.
  • trillion - Scale the number to trillions.
  • quadrillion - Scale the number to quadrillions.
autoPrecision java.lang.String no Specifies the auto precision function of this label Valid values are:
  • on - The engine decides the number of digits on the numbers.
  • off - User specifies the number of digits on the numbers.