Legend
property (DataWindow object)
Description
The location of the legend in a Graph control in a
DataWindow.
Applies to
Graph controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.graphname.Legend |
Describe and Modify argument:
|
1 |
"graphname.Legend { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
graphname |
The name of the graph control for which you want to |
|
value |
(exp) A number indicating the location of the Values are: 0 — 1 — Left 2 — Right 3 4 — Bottom Value can be a quoted |
Usage
In the painter
Select the control and set the value in the Properties view,
General tab, Legend option (applicable when the graph has more than one
series).
Examples
|
1 2 3 4 5 6 |
string setting setting = dw1.Object.graph_1.Legend dw1.Object.graph_1.Legend = 2 setting = dw1.Describe("graph_1.Legend") dw1.Modify("graph_1.Legend=2") dw1.Modify("graph_1.Legend='2~tIf(dept_id=200,0,2)'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest