Legend

Applies to

Graph controls

Description

The value of the Legend property specifies the placement of the graph's legend, or that there should be no legend.

Usage


In a painter

StepsTo set the location of the legend:

  1. Select the desired location from the Legend drop-down list on the General page of the control’s Properties view.


In scripts

The Legend property takes a value of the grLegendType enumerated datatype. The following example sets the location of the legend to below the graph:

gr_1.Legend = AtBottom!