Summary

Tag name: <dvt:slice>

Use the slice tag to specify the characteristics of all slices of a pie or ring graph. Each slice represents a different series. Use the <dvt:series> tag to control individual slice attributes.

Relationship with other tags

The slice tag is a child tag of the graph tag.

Example

The following example shows the XML for a slice tag.

   <dvt:graph> 
      <dvt:slice labelPosition="LP_OUTSIDE_WITH_FEELER"/> 
   </dvt:graph>
   

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
labelPosition java.lang.String yes Specifies the position of slice labels in relation to slices. Valid values are:
  • LP_NO_LABELS - No slice labels are displayed.
  • LP_INSIDE - Slice labels display inside the pie slice.
  • LP_OUTSIDE_WITHOUT_FEELER - Slice labels display outside the slice and do not have a line that connects the label to the slice.
  • LP_OUTSIDE_WITH_FEELER - (Default) Slice labels display outside the slice and include a line that connects the label to the slice.