<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
automaticSize | Whether or not to automatically select the legend size. |
|---|---|
endColor | The upper limit of the color range to be used in the legend. |
height | The proportion of chart height to use for the legend |
id | Case-sensitive name used to identify the object instance. |
instantiate | |
locale | |
position | The compass position where the legend will be placed. |
ref | |
scope | |
startColor | The lower limit of the color range to be used in the legend. |
visible | whether or not the legend is visible |
width | The 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.