Adding a rule to a color scheme

Rules function as exceptions to the rest of the color scheme. You can use them in all kinds of visualizations. The collection of available rules is different for categorical columns and continuous columns. You can add multiple color rules.

Perform this in a map chart that has a feature layer or a marker layer in Spotfire Business Author.
Note: For more discussion about applying color rules and how colors can be used in Spotfire, see the section Working with Colors.

Prerequisites

To add a color rule, you must set the Color by option to a column in the data.

Procedure

  1. Right-click the map chart visualization, and from the menu, click Properties.
    The Properties popover is displayed, with the Map chart popover showing the current layers, in their layer order, top to bottom.
  2. Select the feature layer or the marker layer to apply the rule.
    The Properties page for the layer is displayed.
  3. From the Properties list, click Color.
    The color property options are displayed.
  4. Click Add color rule.
    See Color rule types for more information.
  5. From the Rule type drop-down list, select the rule type to apply, and then select either the value or the condition to apply to the rule.
    If you select Custom Expression, a dialog where you can provide the expression to evaluate is displayed.

    Available rule types and the conditions that they apply to are determined by whether the column is categorical or continuous.