Subscribe Bookmark RSS Feed

Re: How to use script to setup a title in a graph builder

When I use the following script to build a stacked bar, it automatically creates a title. But I want to create a graph title in the script to use a name whatever I want. I looked the script guide book and didn't find the syntax to do this. Can you help me?

tbl << Graph Builder(
Size( 300, 250 ),
Show Control Panel( 0 ),
Variables(
X( :BusinessUnit ),
Y( :Failure ),
Y( :Success, Position( 1 ) ),
Y( :Quoted, Position( 1 ) )
),
Elements(
Bar(
X,
Y( 1 ),
Y( 2 ),
Y( 3 ),
Legend( 6 ),
Bar Style( "Stacked" ),
Summary Statistic( "Sum" )
)
),
)
1 REPLY
Highlighted
ms

Super User

Joined:

Jun 23, 2011

Try this (my additions only at the beginning and end of your script):