Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Displaying Titles and Footnotes in a Pie Control

Pie controls use title and footnote objects to control their titles and footnotes. You can specify

Each title and footnote object has the following attributes:

Attribute Description
color Color for the title or footnote text
font Font for the title or footnote text
text The text for the title or footnote
justification left, right, or center justification

Because the titles and footnotes are objects, they inherit additional attributes, which you will see in their Property sheets. However, the attributes listed in the table above are the only ones you need.

In build mode, when you set the title or footnote attributes in the Property sheet, an editor automatically opens so you can enter values for the title or footnote attributes.

To set titles or footnotes in SCL code, use the notation for complex attributes. For example, for a Pie control named pie1, the following code sets the text and text color for one title and one footnote:

pie1.title1.text='My Title';
pie1.title1.color='red';
pie1.footnote1.text='My Footnote';
pie1.footnote1.color='blue';


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.