Adding Other Objects to Reports

Overview of the Other Object Types

About Text Objects

Text objects display static text. You can use text to include company standards, such as text that indicates confidentiality, in your reports. You can have hyperlinks in text. You can also use text to annotate other objects in a report. For more information, see Insert Text into a Report.

About Images

You can use images to include your corporate logo or other graphics in your reports. You can insert images from a repository or from your local machine. If you select an image from your local machine, it is saved to the repository. You can also add tooltip text to an image. For more information, see Insert an Image into a Report.

About Stored Processes

A stored process is a SAS program that is stored on a server and that can be executed as requested by client applications such as SAS Visual Analytics. The embedded SAS code can contain instructions for displaying report elements that include queries, prompted filters, titles, images, and statistical analyses. For more information, see Insert Stored Processes into a Report.

About Vertical or Horizontal Container Objects

You can use a vertical or horizontal container to group other report objects. For more information, see Insert Vertical or Horizontal Containers into a Report.

About Geo Maps

A geo map helps you analyze data in the context of a location. It displays your data as a bubble plot that is overlaid on a geographic map. Each bubble is located at a geographic location or at the center of a geographical region.
Many types of data have a spatial aspect, including demographics, marketing surveys, and customer addresses. For example, if a user needs to evaluate population data for U.S. Census tracts, a report designer could display the information in a table. However, it would be easier and more effective for the person using the report to see the information in the context of the geography of the tracts. When evaluating information that has a spatial component, users might find it easier to recognize relationships and trends in the data if they see the information in a spatial context.
You can add a geo map object only if the report uses data items from a data source that is enabled for geographic mapping. A geo map requires a geography variable with the role type of geography. If you change a category data item to geography, then you prompted for latitude and longitude data items. However, it does not have to be a drill-down hierarchy. For more information, see Insert Geo Maps into a Report.

Insert Text into a Report

To insert text into a report:
  1. Choose one of the following:
    • Drag text icon from the Objects tab in the left pane and drop it onto the report canvas.
    • Select Insertthen selectOtherthen selectText. The text object is automatically placed in the report canvas. If you want the text to appear in a different place, then drag and drop it in a new location.
  2. Double-click inside the text object in the canvas and enter the text. You can use the floating toolbar to change the font, font size, text color, and text background color. You can also specify whether the text is bold, italic, or underlined and whether it is left-aligned, centered, or right-aligned.
    You can use the context menu to cut, copy, and delete text. However, you have to use the keyboard (Ctrl +V) to paste text.
  3. (Optional) Add a hyperlink by selecting some text, and then clicking link icon. Select Hyperlink. The Link Setup window is displayed. Enter a URL and then click OK.
    Link Setup Window
    Link Setup Window
    The link appears in the text object.

Insert an Image into a Report

To insert an image into a report:
  1. Choose one of the following:
    • Drag the image icon from the Objects tab in the left pane and drop it onto the report canvas. The Image Selection window is displayed.
    • Select Insertthen selectOtherthen selectImage. The Image Selection window is displayed. The image object is automatically placed in the report canvas. If you want the image to appear in a different place, then drag and drop it in a new location.
    Image Selection Window
    Image Selection Window
  2. Select the image from one of the following locations:
    Load from repository
    Select this option to choose an image that is stored on the same server as the reports.
    Load from local machine
    Select this option to choose an image from your local machine. Click Browse to choose a file on your local machine. Specify a repository in the Save the local image to the repository field. If you click Browse, the Save As window is displayed. Select a folder and then click OK to return to the Image Selection window.
    A preview of the image is displayed.
  3. (Optional) Specify the Scale type:
    None
    The actual size of the image is maintained. The image might or might not fill the entire area of the image's visual container. If the image is larger than the visual container, then scroll bars are displayed.
    Stretch
    The height and width of image are set to the height and width of the image’s visual container. The image’s original aspect ratio is not maintained.
    Fit All
    The image is modified to fit best into the image's visual container. The image’s original aspect ratio is maintained.
    Fit Width
    The width of the image is set to the width of the image's visual container. The height maintains the image's original aspect ratio. Scroll bars are displayed if the set height of the image is greater than the height of the visual container.
    Fit Height
    The height of the image is set to the height of the image's visual container. The width maintains the image's original aspect ratio. Scroll bars are displayed if the set width of the image is greater than the width of the visual container.
    Tile
    The image is tiled in the visual container. The image’s original size is maintained. There are no scroll bars.
  4. (Optional) Specify the Tooltip text.
  5. Click OK.

Insert Stored Processes into a Report

To insert a stored process into a report:
  1. Choose one of the following:
    • Drag stored process icon from the Objects tab in the left pane and drop it onto the report canvas. The Open window is displayed.
    • Select Insertthen selectOtherthen selectStored Process. The Open window is displayed.
  2. In the Open window, select a stored process. Click Open. The stored process is automatically placed in the report canvas.
Note: No styles are available for stored processes.

Insert Vertical or Horizontal Containers into a Report

To insert a vertical or horizontal container into a report:
  1. Choose one of the following:
    • Drag vertical container icon or horizontal container icon from the Objects tab in the left pane and drop it onto the report canvas.
    • Select either Insertthen selectOtherthen selectVertical Container or Insertthen selectOtherthen selectHorizontal Container. The vertical or horizontal container is automatically placed in the report canvas. If you want the container to appear in a different place, then drag and drop it in a new location.
  2. Drag and drop other report objects onto the vertical or horizontal container.

Insert Geo Maps into a Report

To insert a geo map into a report:
  • Drag geo map icon from the Objects tab in the left pane and drop it onto the report canvas.
  • Select Insertthen selectOtherthen selectGeo Map. The geo map object is automatically placed in the report canvas. If you want the text to appear in a different place, then drag and drop it in a new location.

Specify Text Object Properties

To specify the properties for a text object:
  1. If not already selected, select the text object in the report canvas that you want to update.
  2. In the right pane, click the Properties tab.
  3. Update the general properties for the text. Your choices are Name, Title, and Description.
    Here is an example of the properties for a text object:
    Properties for a Text Object
    Properties for a Text Object

Specify Image Properties

To specify the properties for an image:
  1. If not already selected, select the image in the report canvas that you want to update.
  2. In the right pane, click the Properties tab.
  3. Update the general properties for the image. Your choices are Name, Title, and Description.
  4. Update the properties specific for the image. Your choices are Location, Scale type, and Tooltip text.
    Here is an example of the properties for an image:
    Properties for an Image Object
    Properties for an Image Object

Specify Stored Process Properties

To specify the properties for a stored process:
  1. If not already selected, select the stored process in the report canvas that you want to update.
  2. In the right pane, click the Properties tab.
  3. Update the general properties for the stored process. Your choices are Name, Title, and Description.
    Here is an example of the properties for a stored process:
    Properties for a Stored Process
    Properties for a Stored Process
  4. Update the properties specific to the stored process. Your choices are Show metadata view and Show log in output.
    Selecting the Show metadata view check box can make it easier to work with the stored process in a report.
    Here is an example of the metadata view for a stored process:
    Metadata View for a Stored Process
    Metadata View for a Stored Process
    Selecting the Show log in output option means that both log output and the stored process output are displayed in the report. This can assist you in debugging any problems that might arise.

Specify Vertical or Horizontal Container Properties

To specify the properties for a vertical or horizontal container:
  1. If not already selected, select the vertical or horizontal container in the report canvas that you want to update.
  2. In the right pane, click the Properties tab.
  3. Update the general properties for the vertical or horizontal container. Your choices are Name, Title, and Description.
    Here is an example of the properties for a vertical container:
    Properties for a Vertical Container
    Properties for a Vertical Container
  4. (Optional) Update the order in which the report objects appear inside the container.

Specify Geo Map Properties

To specify the properties for a geo map:
  1. If not already selected, select the geo map in the report canvas that you want to update.
  2. In the right pane, click the Properties tab.
  3. Update the general properties for the geo map. Your choices are Name, Title, and Description.
  4. Update the properties that are specific to the geo map. Your choices are Show map navigation control, Transparency, and Show legend.
    Here is an example of the properties for a geo map:
    Properties for a Geo Map
    Properties for a Geo Map

Specify Styles for Geo Maps

To specify styles for a geo map:
  1. If not already selected, select the geo map in the report canvas that you want to update.
  2. In the right pane, click the Styles tab.
  3. Update the styles for the geo map.
    Here is an example of the styles for the geo map:
    Styles for a Geo Map
    Styles for a Geo Map