Properties Panel offers different settings depending on the selected element:
- Actions:
- You can define actions within the report (e.g., you can share the report by adding a Share button).
- Report Inputs:
- You can add dynamic information to the report by retrieving data from other screens.
- You can define filters such as date ranges.
Different settings are available on a per-element basis:
- Icon: You can adjust color and size settings.
- Label: Text alignment and font settings are available.
Watermark
The Watermark field is used to add a watermark to the report. Watermarks are typically used for:
- displaying the “Draft” label
- adding the company name
- ensuring document security
- indicating that the report is a copy.
Watermark settings are configured via the Properties panel while the Screen is selected.
- Enable
- Toggles the watermark feature on or off.
- When enabled, the watermark appears on the report.
- Type: Specifies the watermark type.
- Options:
- Text: The watermark is displayed as text.
- Image: The watermark is added as an image.
- Text: Specifies the text to be displayed as the watermark.
- Font Size: Specifies the font size of the watermark text. Larger font sizes make the watermark more prominent on the page.
- Font: Specifies the font to be used for the watermark text.
- Color: Specifies the color of the watermark text. Light gray tones are typically used to preserve the readability of the report content.
- Bold: Makes the text appear bold.
- Italic: Makes the text appear italic.
- Opacity (%): Sets the transparency level of the watermark.
- Lower values make the watermark appear fainter.
- Higher values make the watermark appear more prominent.
- Rotation: Determines the rotation angle of the watermark on the page.
- For example: The -45° value makes the watermark appear diagonally on the page.
- Position: Determines the watermark’s position on the page.
- Options:
- Center: The watermark is displayed in the center of the page.
- Custom: The watermark position is set manually.
- Custom X / Custom Y: These fields become active when the Custom option is selected for Position. These fields determine the watermark’s position on the page.
- Custom X: Horizontal position
- Custom Y: Vertical position
- Tile Repeat: Determines whether the watermark repeats across the page.
- When enabled, the watermark repeats across the page.
- When disabled, the watermark is displayed only at a single position.
Report Parameters
The Report Parameters section allows you to manage the parametric values used within the report. When values are entered in the text of elements such as Labels in the format @parameter, these parameters are automatically detected and displayed in the Report Parameters section of the Properties panel while the Screen is selected.
For example:
- My name is @name @surname
In this usage:
- name
- Surname parameters are automatically added to the Report Parameters list.
Creating Parameters
To create a parametric value:
- Add a Label element to the Canvas.
- Enter a value in the @parameterName format within the Label text.
- When Screen is selected, this parameter automatically appears in the Report Parameters panel.
- Multiple parameters can be used within the same text.
- Example: My name is @name @surname. In this case, two parameters are created.
Parameter Value Sources
Each parameter can retrieve values from different sources.
Supported value types:
- Default Value: A default value can be defined for the parameter.
- Fixed Value: A fixed value can be assigned to the parameter.
- Report Inputs: The parameter value can be retrieved from another screen or user input.
- Action Result: The parameter value can be retrieved from an action result.
This structure enables dynamic data display within the report.
Using Parameters in the Report
Values assigned to parameters are automatically displayed within the relevant Label or element when the report is generated.
For example: Label value: My name is @name @surname
Parameter values:
Report output: My name is John Doe
Parameter Visibility
The Report Parameters panel is displayed only when parametric values are used in the report.
If no @parameter is used in the report, this section is not visible.