Legend DataWindow object property
Description
The location of the legend in a Graph control in a DataWindow.
Controls
Graph controls
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>graphname</span>.Legend |
Describe and Modify argument:
|
1 |
"<span>graphname</span>.Legend { = '<span> value</span> ' }" |
|
Parameter |
Description |
|---|---|
|
graphname |
The name of the graph control for which |
|
value |
(exp) A number indicating Values are:
Value can be a quoted DataWindow expression. |
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 |
string setting |
|
1 |
setting = dw1.Object.graph_1.Legend |
|
1 |
dw1.Object.graph_1.Legend = 2 |
|
1 |
setting = dw1.Describe("graph_1.Legend") |
|
1 |
dw1.Modify("graph_1.Legend=2") |
|
1 |
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