<sasads:ColorLegendStyle>

The ContinuousColorLegendStyle tag defines the visual attributes specific to a continuous color legend. Starting and ending colors define the lower and upper limits of the color range to be used in the legend. The rest of the colors are interpolated between these two values.

This tag must be nested within a sasads:Bar, sasads:Scatter, sasads:MDBar or sasads:MDScatter tag.

Syntax

<sasads:ColorLegendStyle
   [automaticSize="true|false"]
   [endColor="red"]
   [height="0.2"]
   [id="value"]
   [instantiate="true|false"]
   [locale="java.util.Locale"]
   [position="SOUTH|NORTH|EAST|WEST"]
   [ref="java.lang.String"]
   [scope="java.lang.String"]
   [startColor="yellow"]
   [visible="true|false"]
   [width="0.6"]>
      [<sasads:LabelStyle ...>
      </sasads:LabelStyle>]
      [<sasads:ValueStyle ...>
      </sasads:ValueStyle>]
      [Additional <sasads:LabelStyle>, <sasads:ValueStyle> tags...]
</sasads:ColorLegendStyle>

Attributes

automaticSizeWhether or not to automatically select the legend size.
endColorThe upper limit of the color range to be used in the legend.
heightThe proportion of chart height to use for the legend
idCase-sensitive name used to identify the object instance.
instantiate
locale
positionThe compass position where the legend will be placed.
ref
scope
startColorThe lower limit of the color range to be used in the legend.
visiblewhether or not the legend is visible
widthThe proportion of chart width to use for the legend

More Information

To view the documentation for the related InformationBean, see com.sas.graphics.chart.ContinuousColorLegendStyle.

If you need to subclass the tag handler class for the sasads:ColorLegendStyle tag, extend com.sas.taglib.graphics.chart.ColorLegendStyleTag.