<sas:ColorLegendModel>

The ColorLegendModel tag encapsulates the attributes specific to a color legend model.

This tag must be nested within a sas:ScatterPlotModel, sas:LinePlotModel or sas:RadarChartModel tag.

Syntax

<sas:ColorLegendModel
   [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:ColorLegendModel>

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:ColorLegendModel tag, extend com.sas.taglib.graphics.components.ColorLegendModelTag.