Applies to

Graph controls


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


In a painter

To set the location of the legend:

  • 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!