<sasads:Pie>

Custom Tag for the Pie Transformation Bean.

Syntax

<sasads:Pie
   [alignment="java.lang.String"]
   [alternateText="java.lang.String"]
   [background="white"]
   [backgroundImage="java.lang.String"]
   [borderWidth="int"]
   [categoryVariableName="java.lang.String"]
   [clockwise="true|false"]
   [customAttributes="java.lang.String"]
   [dataTipStyle="NONE|STATIONARY|TRACKING"]
   [depth="TWO_AND_HALF_DIMENSION|TWO_DIMENSION|THREE_DIMENSION"]
   [depthVariableName="java.lang.String"]
   [epilog="java.lang.String"]
   [foregroundColor="java.lang.String"]
   [foreground="java.lang.String"]
   [groupVariableName="java.lang.String"]
   [height="int"]
   [horizontalSpace="int"]
   [href="java.lang.String"]
   [id="value"]
   [image="java.lang.String"]
   [instantiate="true|false"]
   [locale="java.util.Locale"]
   [mapColors="java.lang.String"]
   [maximumSlices="8|int"]
   [maxObservations="0..int"]
   [model="java.lang.String"]
   [modelObject="com.sas.ModelInterface"]
   [name="java.lang.String"]
   [otherMode="SLICES|THRESHOLD|NONE"]
   [otherPercentThreshold="0.04"]
   [outlineColor="gray"]
   [pieHeight="0.2"]
   [pieLabelType="WEIGHT_HEIGHT|HEIGHT|SECTOR|SECTOR_HEIGHT|SECTOR_WEIGHT|SECTOR_WEIGHT_HEIGHT|WEIGHT"]
   [prolog="java.lang.String"]
   [ref="java.lang.String"]
   [render="true|false"]
   [resolution="LOW|MEDIUM|HIGH"]
   [response2VariableName="java.lang.String"]
   [responseColorVariableName="java.lang.String"]
   [responseHeightVariableName="java.lang.String"]
   [responseVariableName="java.lang.String"]
   [scope="java.lang.String"]
   [showStatistic="false|true"]
   [sortByStatistic="NONE|ASCENDING|DESCENDING"]
   [styleClass="java.lang.String"]
   [style="java.lang.String"]
   [subGroupVariableName="java.lang.String"]
   [swanStyleData="false|true"]
   [target="java.lang.String"]
   [title="java.lang.String"]
   [URL="java.lang.String"]
   [useAsFormElement="true|false"]
   [useMap="java.lang.String"]
   [verticalSpace="int"]
   [width="int"]
   [xVariableName="java.lang.String"]
   [zVariableName="java.lang.String"]>
      [<sasads:SectorLegendStyle ...>
         [<sasads:LabelStyle ...>
         </sasads:LabelStyle>]
         [<sasads:ValueStyle ...>
         </sasads:ValueStyle>]
         [Additional <sasads:LabelStyle>, <sasads:ValueStyle> tags...]
      </sasads:SectorLegendStyle>]
      [<sasads:WeightLegendStyle ...>
         [<sasads:LabelStyle ...>
         </sasads:LabelStyle>]
         [<sasads:ValueStyle ...>
         </sasads:ValueStyle>]
         [Additional <sasads:LabelStyle>, <sasads:ValueStyle> tags...]
      </sasads:WeightLegendStyle>]
      [<sasads:TitleStyle ...>
      </sasads:TitleStyle>]
      [Additional <sasads:SectorLegendStyle>, <sasads:WeightLegendStyle>, <sasads:TitleStyle> tags...]
</sasads:Pie>

Attributes

alignmentThe text alignment of the image.
alternateTextThe alternate text of the image.
backgroundThe background color.
backgroundImageThe background image.
borderWidthThe border width of the image.
categoryVariableNameThe category variable name.
clockwisetrue if it is clockwise.
customAttributes
dataTipStyleThe enum that indicates the datatip display style.
depthThe enum that indicates the display dimension.
depthVariableNameThe depth variable name.
epilog
foregroundColorThe foreground color of all labels, gridlines, and axis lines.
foregroundThe foreground color of all labels, gridlines, and axis lines.
groupVariableNameThe group variable name.
heightThe height of the image.
horizontalSpaceThe horizontal spacing of the image.
hrefThe href.
idCase-sensitive name used to identify the object instance.
imageThe URL location of the image.
instantiate
locale
mapColorsThe color map used by the chart.
maximumSlicesThe maximum number of slices (including the "other" slice).
maxObservationsThe maximum number of observations.
modelThe data model.
modelObjectThe data model object.
name
otherModeThe mode for combining slices to the "Others" group.
otherPercentThresholdThe percent threshold for determining which slices are too small and belong in "other" slice.
outlineColorThe outline color.
pieHeightThe thickness of the pie relative to the pie's diameter.
pieLabelTypeThe type of the label used around the pie.
prolog
ref
render
resolutionThe enum that indicates how finely shapes(Cylinder etc.) are drawn.
response2VariableNameThe second response variable name.
responseColorVariableNameThe color response variable name.
responseHeightVariableNameThe height response variable name.
responseVariableNameThe response variable name.
scope
showStatistictrue if statistics are appended to the labels.
sortByStatisticThe sort order.
styleClass
style
subGroupVariableNameThe subGroup variable name.
swanStyleDatatrue if the input is SWAN style data.
targetThe target the image should use.
titleThe title of the chart.
URLThe URL to which the image should be linked.
useAsFormElementSpecifies whether to use the form version or standard version of the image, "true" uses the form version.
useMapThe useMap text.
verticalSpaceThe vertical spacing of the image.
widthThe width of the image.
xVariableNameThe X variable name.
zVariableNameThe Z variable name.

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.beans.graphics.BasePie.

If you need to subclass the tag handler class for the sasads:Pie tag, extend com.sas.taglib.servlet.beans.graphics.PieTag.