Big Value

Big Value displays a large value, and can be configured to include a comparison and a sparkline.

Num Orders

304

2.7% vs. Last Month

Examples

Default

Num Orders

304

Comparisons

Num Orders

304

2.7% MoM

Multiple cards

Multiple cards will align themselves into a row.

Sales

$9,905

-11.0% MoM

Orders

304

2.7% MoM

Average Order Value

$32.58

-13.3% MoM

Linking to other pages

The link property makes the Value component clickable, allowing navigation to other pages.

Num Orders

304

2.7% vs. Last Month

Non-Delta Comparisons

Num Orders

304

296 Last Month

Sparkline

Sales

9,905.10

Options

Data

Required
Query name, wrapped in curly braces
Options:
query name
Required
Column to pull the main value from.
Options:
column name
Title of the card.
Options:
string
Default:
Title of the value column.
Overrides min-width of component
Options:
% or px value
Default:
18%
Adds a max-width to the component
Options:
% or px value
Sets behaviour for empty datasets. Can throw an error, a warning, or allow empty. When set to 'error', empty datasets will block builds in `build:strict`. Note this only applies to initial page load - empty datasets caused by input component changes (dropdowns, etc.) are allowed.
Default:
error
Text to display when an empty dataset is received - only applies when `emptySet` is 'warn' or 'pass', or when the empty dataset is a result of an input component change (dropdowns, etc.).
Options:
string
Default:
No records

Comparison Options

Column to pull the comparison value from.
Options:
column name
Text to the right of the comparison.
Options:
string
Default:
Title of the comparison column.
Whether to display delta symbol and color
Options:
Default:
true
If present, negative comparison values appear in green, and positive values appear in red.
Options:
Default:
false
Sets the bottom of the range for 'neutral' values - neutral values appear in grey rather than red or green
Options:
number
Default:
0
Sets the top of the range for 'neutral' values - neutral values appear in grey rather than red or green
Options:
number
Default:
0

Sparkline

Column to pull the date from to create the sparkline.
Options:
column name
Chart type for sparkline
Default:
line
Formatting for tooltip values
Options:
format code
Default:
same as fmt if supplied
Formatting for tooltip dates
Options:
format code
Default:
YYYY-MM-DD
Color of visualization
Options:
CSS name | hexademical | RGB | HSL
Whether to truncate the y-axis of the chart to enhance visibility
Options:
Default:
false
Group name to connect this sparkline to other charts for synchronized tooltip hovering. Charts with the same `connectGroup` name will become connected
Options:
string