Markup Variable Panel

At a glance

The Markup Variable sets text fields that can be modified by filters or results to customize your display.

Where to Use

Visualization Types

This panel displays for all visualization types.

Fields

Enable Markup Variables: Turns on the option to set variables.

+Add Variable:
Creates the setup for a new variable.

Basic Settings: minimal settings needed to create a variable.

  • Source: Choose whether your Markup Variable should come from a data column or from metadata in your JSON data file. The "Data File Metadata" option only appears if you imported a JSON file containing metadata.
    • Data Column: The column that variable is located in.
    • Metadata Field: The field that variable is located in.
  • Variable Name: The name you choose to reference the variable.
  • Tag (Auto-generated): The auto-generated tag set for your variable. This is the variable tag to copy and use in place of text to be generated based on filter selections or results. Format will be {{variablename}}.
    • Example, if date to change in title based on a selected date in a filter, set up variable as above for date, copy the tag {{date}}, then for Title (in General panel) put "Example Title, {{date}}". (Reminder: External filters may need "Used by" updated.)

Conditions: To specify condition(s) for when this variable should display.
Example, a variable for Funding Status may display only if the "Funding Status" (Column) "Is Not" (Operator) "NA" (Value).

  • Column: The column that the condition is in.
  • Operator: Choose "Is" or "Is Not".
  • Value: The value of the condition.

Formatting Options: Customizes the format using your variable.

  • Format numbers with commas: Adds commas appropriately if variable is numeric. (Reminder: COVE cannot read numeric values with commas included in source file. This allows commas to be added after visualization is calculated).
  • Hide section when value is null: If the value displayed would be blank, hide all text in the textbox section.