Conditional Formatting

<< Click to Display Table of Contents >>

RayVentory Data Hub > 12.5 u5 > Dashboards and Reports Customization Guide > Designing Dashboards > Appearance Customization 

Conditional Formatting

The Web Dashboard supports conditional formatting. You can apply a custom style to data elements that satisfy a certain condition for Grid, Pivot, Chart, Scatter Chart and Card items.

 

wddcfmain

 

Format Rules

Format rules used in conditional formatting can be categorized as follows:

 

Value - Compares static values (Greater Than, Less Than, Between, etc.).

Top-Bottom - Highlights a specific number of top/bottom values (Top N, Bottom N).

Average - Highlights values above or below the average value.

A Date Occurring - Highlights date-time values that are within a specified interval.

Expression - Uses complex conditions to apply formatting. You can also pass dashboard parameters to expressions.

Icon and Color Ranges - Display a specific icon based on a value range. You can select a predefined set of icons or apply a specific icon to each range.

Color Ranges - Apply specific colors to different value ranges. You can select a predefined set of colors or use custom appearance settings to highlight values within specified ranges.

Gradient Ranges - Apply formatting using gradient color scales.

Bar - Visualizes numeric values as bars. You can also color bars corresponding to positive and negative values using different colors.

Bar Color Ranges - Visualize numeric values as bars. Values within a range display a specific color.

Bar Gradient Ranges - Visualize numeric values as bars. Values within a range display a specific bar gradient.

 

Format conditions that can be applied to different data item types are as follows:

 

numeric

oValue

oTop-Bottom

oAverage

oExpression

oIcon Ranges

oColor Ranges

oGradient Ranges

oBar

oBar Color Ranges

oBar Gradient Ranges

string

oValue (with the condition type set to Equal To, Not Equal To or Text that Contains)

oExpression

date-time

oValue

oA Date Occurring (for dimensions with a continuous date-time group interval)

oExpression

oIcon and Color Ranges

oColor Ranges

oGradient Ranges

oBar

oBar Color Ranges

oBar Gradient Ranges

 

Create a Format Rule

To create a format rule, open the Conditional Formatting section in the dashboard item's Options menu or in the data item menu. Click "+" to add a new format rule:

 

webdashboardcfaddrule

 

Specify the data item/card used to calculate a condition in the Common section. You can also create a format rule for one data item and apply different settings to the other data item.

 

Select a format rule type from the list to open its settings.

 

wddgridcfselectruletype

 

Select a condition from the list and specify its settings in the Condition section. Available settings depend on the selected format rule.

 

wddgridcfselectvaluemenu

 

Specify additional settings in the Miscellaneous section. For example, you can specify the intersection level for the Pivot or apply the current rule to a row in the Grid.

 

Edit a Format Rule

To edit a format rule, select the rule and click Edit (the edit icon).

 

wddicondeletebig

 

Click Delete (the DeleteDataSource icon) to delete the selected format rule.

 

When you edit a format rule, you can enable or disable the rule in the Miscellaneous section.

 

miscellaneoussection

 

Other settings in the Miscellaneous section depend on the selected dashboard item.

 

Appearance Settings

The format rule menu's Condition section contains appearance settings.

 

For Grid, Pivot, and Card items, you can configure and customize the current format condition appearance settings:

 

Choose a predefined background color or font in the Appearance tab.
wddcfappearancegallery

 

Add a predefined icon in the Icons tab.
 
wddcficonsgallery

 

Chart and Scatter Chart items have a predefined palette and a custom palette. Click a color chip in the Custom Color palette to set a new custom color. You can pick any color using the RGB or HSB color model in the invoked color picker.

 

wddcfchartstyles

 

You can change generated colors for the Range format rules:

 

wddcfrangegallery

 

Dashboard Item Format Rule Specifics

See the following sections for more information about specific format settings for dashboard items:

 

Conditional Formatting - Grid

Conditional Formatting - Pivot

Conditional Formatting - Card

Conditional Formatting - Chart

Conditional Formatting - Scatter Chart