The location of the legend in a Graph control in a DataWindow.
Graph controls
Describe and Modify argument:
"graphname.Legend { = ' value ' }"
Parameter |
Description |
---|---|
graphname |
The name of the graph control for which you want to specify the location of the legend. |
value |
(exp) A number indicating the location of the legend of a graph. Values are:
Value can be a quoted DataWindow expression. |
Select the control and set the value in the Properties window, General category (applicable when the graph has more than one series).
[Visual Basic] setting = dw1.Describe("graph_1.Legend")
dw1.Modify("graph_1.Legend=2")
dw1.Modify("graph_1.Legend='2~tIf(dept_id=200,0,2)'")