Targets determine the elements and areas on which a rule applies.
- The simplest form for targeting is selecting the cells/rows/columns you want to apply a rule to, then click “Add rule”.
- Other targets must be added in the individual rule dialog. Start by adding the rule you want, then head to the Include or Exclude list in the rule dialog.
Include vs Exclude
The Include and Exclude lists are core to targeting. Essentially, a rule will target everything in the Include List, while excluding everything in the Exclude list.
When you select a section of your visual grid before adding a rule, this section will automatically be added to the included list.
If you hover over the elements in the included list, the targeted area will be highlighted. The same applies to elements in the excluded list.
Content-type – Graphics, Cell, Text
In the rule dialog, you will find the field for content type. In some cases, this will be limited to just one option, while in other cases you will have the choice between targeting graphics, text, or the cell itself.
- Cells: let you target the underlying cell in a Grunt visual grid.
- Graphics: enables you to target all graphics produced by rules. Examples of graphics are chart elements, Harvey balls, or custom shapes.
- Text: lets you target text in your Grunt object.
Tags
Your personally designed targets. Select part of your grid to define the area you want to target. Give it a name that makes sense. Your tags can be added to the Included or Excluded list by clicking the “+”.
You can edit and manage your tags from the Settings-button in the Rule stack.