Legend

[method icon] Legend(iIndex, sText$)

Graph legend (index and text)

iIndex Integer
sText$ String

Applies to: Graph

Introduced in KCML version 5.03


>

Legend

The graph Legend() method allows the provision of a legend for pie charts and multiple data set graphs. In both cases, elements are distinguished by color, and the legend colors are displayed in a list on the right-hand side of the graph together with the supplied description. The two parameters are the index number and a description string.

The XLabel() method is used to provide descriptions along the X-axis.

See also

Graph methods, properties and events.