SetLegend method: RatingBoxChart class
Syntax
SetLegend(&Array_of_String)
Description
Use the SetLegend method to specify legend text. Legend text labels the images set in the RatingBoxChart class method SetLegendImg.
Note:
Legend text is not automatically translated. Be sure to use translated text, such as message catalog entries.
Parameters
| Parameter | Description |
|---|---|
|
&Array_of_String |
Specify an already instantiated array of string, containing the text that you want to use for the legend. |
Returns
None.
Example
&LegendArray = CreateArray("A","B", C","D");
&oRatingBoxChart.SetLegend(&LegendArray);