At a glance
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: Select the column that variable is located in.
- Metadata Field: Select the field that variable is located in.
- Icon: Choose Icon to create a markup variable that outputs an icon.
- Icon Mode: Choose Static Icon to always show one icon, or Data-Driven Icon to map data values to icons.
- Icon: In Static Icon mode, choose the icon to display.
- Data Column: In Data-Driven Icon mode, choose the data column used to drive icon selection. If the current filters and conditions match multiple mapped values, the markup tag can output multiple icons.
- Icon Mapping: In Data-Driven Icon mode, map each source value to an icon.
- Add Icon Mapping: Add a custom value-to-icon mapping.
- Variable Name: Set the variable name used to generate the markup tag.
- 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.)
- 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 how COVE displays the value generated by a markup variable.
- Format numbers with commas: Adds commas when the variable value is numeric. Values that include other characters, such as percentages, currency symbols, text labels, or commas already in the source value, display unchanged.
- Round to decimal point: Sets the number of decimal places to show when the variable value is numeric. Enter a whole number from 0 to 10. Leave the field blank to keep the value's original decimal places.
- Date Parse Format: Enter a D3 time-format pattern that matches the date or date-time values in the selected data column or metadata field. COVE automatically fills this field when it recognizes the format of a selected data column. Values that do not match the pattern display unchanged.
- Date Display Format: Enter a D3 time-format pattern for how the parsed date should display. Leave this field blank to use the Date Parse Format. This field has no effect when Date Parse Format is blank.
- Hide section when value is null: If the value displayed would be blank, hide all text in the textbox section.
This page was last updated on this date. Updates may include minor edits, image changes, or other modifications to page content.
The information on this page was last reviewed by subject matter experts to ensure accuracy.