The title of the graph.
Graph controls
PowerBuilder dot notation:
dw_control.Object.graphname.Title
Describe and Modify argument:
"graphname.Title { = ' titlestring ' }"
Parameter |
Description |
---|---|
graphname |
In the DataWindow object, the name of the Graph control for which you want to get or set the title |
titlestring |
A string specifying the graph’s title |
Select the control and set the value in the Properties view, General tab, Title option.
The default expression for the Title.DispAttr.DisplayExpression property is "title", which refers to the value of the Title property. The display expression can combine the fixed text of the Title property with other text, functions, and operators. If the expression for Title.DispAttr.DisplayExpression does not include the Title property, then the value of the Title property will be ignored.
For an example, see DispAttr.fontproperty.
setting = dw1.Object.gr_1.Title
dw1.Object.gr_1.Title = 'Sales Graph'
setting = dw1.Describe("gr_1.Title")
dw1.Modify("gr_1.Title = 'Sales Graph'")