WebFOCUS Online Help > Using Power Painter > Using Power Painter Components
In this section: |
|
The available Power Painter components are Report, Graph, Image, Text, and Line. You may select these components from the Toolbox palette or from the Main toolbar. The component objects are associated with corresponding properties that you may set using the properties palette.
The following image is an example of the Toolbox palette in Power Painter.
or
Select Report from the Insert menu. The component is automatically inserted into the canvas.
The report appears on the canvas.
As fields are dragged over the report, sorting folders are available which enable you to sort the fields as a By, Across, Sum, or Coordinated report field.
Note: Coordinated fields contain a common sort field for multiple reports and graphs and are burst into separate page layouts. Each value for the coordinated sort field displays on a separate page.
Double-click the report to bring up the Query Popup.
The sort folders appear with the selected fields in the report. You may drag and drop the fields to different sort folders, delete fields, and add and edit compute fields from this dialog box. You may also select Print to display all the values of the selected fields found in the data source and Sum to sum the values of a numeric field.
When a report object is selected, the following properties are available from the Report properties palette.
Click the browse (...) button to open the font dialog box. Select the font, style, size, text and multiple background colors for the data in the report.
Click the browse (...) button to open the font dialog box. Select the font, style, size, text and background color for the column titles in the report.
Shows columns totals in the report. No is selected by default. To show column totals, use the drop-down list to select Yes.
Shows the default global font for the report.
Adds a footing to the report. Click the browse (...) button to open the Footing dialog box.
Adds a heading to the report. Click the browse (...) button to open the Heading dialog box.
Indicates the height of the report object. You may type in a different value to change the height or manually drag the report object on the canvas.
Shrinks the column width to fit the widest value in the report. Yes is selected by default. Select No from the drop-down list to expand the all the columns.
Indicates the starting position for the left edge of the report. You may type in a different value to change the position or manually drag the report on the canvas.
Indicates the starting position for the top edge of the report. You may type in a different value to change the position or manually drag the report on the canvas.
Limits the number of records used to retrieve data at run time.
Shows row totals in the report. No is selected by default. To show row totals, use the drop-down list to select Yes.
Determines the vertical sizing of the report by setting fixed or flowing overflow. For more information about sizing and overflow, see Setting Overflow Options in Power Painter.
Click the browse (...) button to select an external stylesheet. The report references the selected stylesheet which controls the global level styling of the report. You can choose from a predefined set of stylesheets, or a stylesheet from the Import directory.
Indicates the width of the report object. You may type in a different value to change the width or manually drag the report object on the canvas.
When you right-click a report object, the following options are available from the dialog box that appears:
Opens the query dialog box.
Resizes the report as fields are added and deleted.
Deletes the report.
Displays the Report properties dialog box.
When a report is selected, the following properties are available from the Field properties palette.
Note: The field properties available vary depending on the type of sort field selected.
Controls whether a field appears in the report graph, or is hidden. If Visible is set to No, the column is hidden, but is still used in calculations.
Enables you to enter a title for the field in the report graph.
Sorts the column data in ascending or descending order.
Start a new page when the value of a selected sort field changes.
Enables you to display subtotals for numeric data whenever the value of the selected sort (By) field changes. By default, numeric field values are summed and displayed as subtotals. Additionally, you can display other summary values by applying prefix operators to numeric fields, including computed fields, by clicking the browse (...) button to open the Sub Total Options dialog box. For more information, see How to Display Subtotals and Other Summary Values Using Prefix Operators.
Includes a horizontal line across the width of a report after the value of the selected sort field changes.
Displays missing instances of data for related fields in the report.
Enables you to supply information to another report by using a hyperlink, procedure, or parameter.
Enables you to assign a conditional style to a report element. Conditional styling enables you to define conditions that determine when to apply particular fonts, text style, and so on. For more information about conditional styling, see How to Create Conditional Styling Rules.
Adds a subheading to the report at sort breaks. Click the browse (...) button to open the subheading dialog box.
Adds a subfooting to the report at sort breaks. Click the browse (...) button to open the subfooting dialog box.
Includes a column with a numeric rank for each row in a vertically sorted report.
If specified, this value limits the number of ranked values to be retrieved.
Displays a default column title as RANK with the sort field. You may type in a unique title name for the ranked field.
Click the browse (...) button to open the font dialog box. Select the font, style, and size for the ranking title.
Click the browse (...) button to open the font dialog box. Select the font, style, and size for the ranking data.
Click the browse (...) button to open the font dialog box. Select the font, style, size, text and multiple background colors for the column title.
Click the browse (...) button to open the font dialog box. Select the font, style, size, text and multiple background colors for the data column.
You may generate a Table of Contents (TOC) page which shows a summary of the document's contents, along with page numbers, and can be printed with the document. The entries in the Table of Contents enable you to easily navigate to a particular section while viewing the document.
Note: The Table of Contents only appears as a field option if you are using a coordinated report.
or
Select Graph from the Insert menu.
The New Chart dialog box appears.
The graph appears on the canvas.
Tip: To view the New Chart dialog box after the graph has been added to the canvas, select Show Chart Types from the right-click context menu of the graph.
As fields are dragged over the graph, sorting folders are available which enable you to sort the fields as a X and Y axis fields.
Note: Coordinated fields contain a common sort field for multiple reports and graphs and are burst into separate page layouts. Each value for the coordinated sort field displays on a separate page.
or
Double-click the graph to bring up the Query Popup.
The sort folders appear with the selected fields in the graph. You may drag and drop the fields to different sort folders, delete fields, or add and edit compute fields from this dialog box. You may also select Print to display all the values of the selected fields found in the data source and Sum to sum the values of a numeric field.
For most chart types, when a graph object is selected, the following properties are available from the Chart properties palette. Note: Some chart types with unique properties, such as pie and three dimensional charts, have specialized properties not shown below.
Select from any of the available templates to apply a predefined color scheme to change the appearance of your chart.
Type the desired footnote text.
Type the desired subtitle text.
Type the desired title text.
Select from Yes or No. Displays the Series-legend icon and enables secondary X-axis functionality.
Select from Yes or No to turn auto placement on or off.
Indicates the height of the graph object. You may type in a different value to change the height or manually drag the graph object on the canvas.
Indicates the starting position for the left edge of the graph. You may type in a different value to change the position or manually drag the graph on the canvas.
Select the desired option for positioning the chart’s legend.
Type a number to edit the record limit value.
Select from Yes or No to display or not display data values on the graph.
Indicates the starting position for the top edge of the graph. You may type in a different value to change the position or manually drag the graph on the canvas.
Select from Yes or No to apply or not apply a three dimensional effect on the graph.
Indicates the width of the graph object. You may type in a different value to change the width or manually drag the graph object on the canvas.
Select from Yes or No to display or not display X-axis major gridlines on the graph.
Select from Yes or No to display or not display Y-axis major gridlines on the graph.
When the Chart Editor dialog box is open in Power Painter, properties are available for each object in the chart editor. The following image is an example of the Chart Editor and the properties palette in Power Painter.
For details about the chart editor and its object properties, see the Creating Graphs With Advanced Graph Assistant chapter in the WebFOCUS Managed Reporting Developer's Manual.
or
Select Text from the Insert menu.
The Text Component dialog box appears on the canvas.
You may customize the font, style, size, and text color of the text.
The text is inserted into the canvas.
When a text object is selected, the following properties are available from the Text properties palette.
Indicates the height of the text object. You may type in a different value to change the height or manually drag the text object on the canvas.
Indicates the starting position for the left edge of the text.
Indicates the starting position for the top edge of the text.
Indicates the width of the text object. You may type in a different value to change the width or manually drag the text object on the canvas.
or
Select Image from the Insert menu.
The Open dialog box appears on the canvas.
Note: The Reporting Server is the default location for all stored images.
When you right-click an image, the following options are available from the dialog box that appears:
Resets the image to the original size.
Deletes the image.
Opens the Image properties dialog box.
Note: Hover over an image to view the file name.
When an image object is selected, the following properties are available from the Image properties palette.
Indicates the height of the image object. You may type in a different value to change the height or manually drag the image object on the canvas.
Indicates the starting position for the left edge of the image.
Indicates the starting position for the top edge of the image.
Indicates the width of the image object. You may type in a different value to change the width or manually drag the image object on the canvas.
or
Select Line from the Insert menu.
The line object is added to the canvas as a positioned horizontal line.
Note: To insert a vertical line, use the properties palette to change the orientation to vertical.
When a line object is selected, the following properties are available from the Line properties palette.
Sets the color of the line. Click in the color value field to open the color dialog box.
Indicates the height of the line object. You may type in a different value to change the height or manually drag the line object on the canvas.
Indicates the horizontal or vertical orientation of the line on the canvas.
Indicates the starting position for the left edge of the line.
Sets the style of the line. Use the drop-down list to solid, dotted, dashed, and so on.
Sets the thickness of the line to light, medium, or heavy.
Indicates the width of the line object. You may type in a different value to change the width or manually drag the line object on the canvas.
The Subtotal property in the Field Properties palette enables you to display subtotals, and other summary values using prefix operators, for any or all of the numeric fields, including computed fields, in a report query. From the Field Properties dialog, when you click the browse (...) button to the right of the Subtotals property, the Sub Total Options dialog box opens.
If you are using computed fields, select the Recomputed Sub Totals option instead.
All of the available prefix operators are listed and described in the following table:
|
Prefix |
Description |
Displayed in Prefix List |
|---|---|---|
| SUM. | Compute the sum of values | Sum |
| ASQ. | Compute the average sum of squares | Average Square |
| AVE. | Compute the average value | Average |
| CNT. | Count the items | Count |
| FST. | Select the first value only | Show first in group |
| LST. | Select the last value only | Show last in group |
| MAX. | Select the maximum value only | Maximum |
| MIN. | Select the minimum value only | Minimum |
When Apply totals to all columns is selected, options for all individual fields in the Columns area are inactive by default.
The following image shows the Sub Total Options dialog box:
| WebFOCUS7 |