Icon Set Condition |
Top Previous Next |
The Icon Set condition is used to identify the component with an icon to which a condition is applied. The Icon Set works the following way. The minimum and maximum values for all values in the selected data column are defined first. All calculated values are in the range from 0 to 100 percent. A group of icons is selected. Then, the condition and boundary values (for example 33 per cent and 67 per cent) for each icon are set. If, for example, a group of three icons is selected, each of these selected icons have a subrange. In this case, each of the icons has subrange in 33 percent (from 0 to 33, from 33 to 67, from 67 to 100). This allows you to mark a component with an appropriate icon depending on the value. The picture below shows a page of the report:
Add an Icon Set condition. To do this, select a text component, for example a component with the {Employees.Country} expression. Add the Icon Set condition. Change the parameters of the condition. The picture below shows the Conditions dialog:
The Type field is used to change the type of a value of the first sub-condition. There are two values: Percentage and Value. The picture below shows the menu to select the type of a value:
In the Value filed the value of a sub-condition is indicated.
After making changes in the report template, the report engine will perform conditional formatting of text components, according to the specified parameters. In this case, the appropriate icon for a text component will be applied. The picture below shows a page of the rendered report with conditional formatting:
As can be seen in the picture above, the icon depending on the value of a condition will be applied to each text component.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |