<sas:LegendModel>

The LegendModel tag encapsulates the attributes specific to a legend model.

This tag must be nested within a sas:BarChartModel, sas:PieChartModel, sas:BarLineChartModel or sas:LineChartModel tag.

Syntax

<sas:LegendModel
   [id="value"]
   [label="java.lang.String"]
   [labelPlacement="Automatic|Left|Right|Inside|Outside|Across|InsideLeft|InsideCenter|InsideRight|AcrossLeft|AcrossCenter|AcrossRight|OutsideLeft|OutsideCenter|OutsideRight"]
   [placement="Automatic|North|South|East|West"]
   [visible="java.lang.Boolean"]>
      [<sas:ValueTextStyle ...>
         [<sas:ShadowStyle ...>
            [<sas:SetProperty ...>
               The value to set on the parent tag
            </sas:SetProperty>]
            [Additional <sas:SetProperty> tags...]
         </sas:ShadowStyle>]
         [<sas:Font ...>
            [<sas:SetProperty ...>
               The value to set on the parent tag
            </sas:SetProperty>]
            [Additional <sas:SetProperty> tags...]
         </sas:Font>]
         [<sas:SetProperty ...>
            The value to set on the parent tag
         </sas:SetProperty>]
         [Additional <sas:SetProperty> tags...]
      </sas:ValueTextStyle>]
      [<sas:LabelTextStyle ...>
         [<sas:ShadowStyle ...>
            [<sas:SetProperty ...>
               The value to set on the parent tag
            </sas:SetProperty>]
            [Additional <sas:SetProperty> tags...]
         </sas:ShadowStyle>]
         [<sas:Font ...>
            [<sas:SetProperty ...>
               The value to set on the parent tag
            </sas:SetProperty>]
            [Additional <sas:SetProperty> tags...]
         </sas:Font>]
         [<sas:SetProperty ...>
            The value to set on the parent tag
         </sas:SetProperty>]
         [Additional <sas:SetProperty> tags...]
      </sas:LabelTextStyle>]
      [<sas:BackgroundFillStyle ...>
         [<sas:SetProperty ...>
            The value to set on the parent tag
         </sas:SetProperty>]
         [Additional <sas:SetProperty> tags...]
      </sas:BackgroundFillStyle>]
      [<sas:FrameLineStyle ...>
         [<sas:SetProperty ...>
            The value to set on the parent tag
         </sas:SetProperty>]
         [Additional <sas:SetProperty> tags...]
      </sas:FrameLineStyle>]
      [<sas:ShadowStyle ...>
         [<sas:SetProperty ...>
            The value to set on the parent tag
         </sas:SetProperty>]
         [Additional <sas:SetProperty> tags...]
      </sas:ShadowStyle>]
      [<sas:SetProperty ...>
         The value to set on the parent tag
      </sas:SetProperty>]
      [Additional <sas:SetProperty> tags...]
</sas:LegendModel>

Attributes

idCase-sensitive name used to identify the object instance.
labelThe label to set
labelPlacementThe labelPlacement to set
placementThe placement to set
visibleThe visible to set

More Information

To view the documentation for the related InformationBean, see com.sas.graphics.components.LegendModel.

If you need to subclass the tag handler class for the sas:LegendModel tag, extend com.sas.taglib.graphics.components.LegendModelTag.