Statistic
A statistic block renders indicator numbers.
Block
33.3
Block Setup
id: block_id
type: Statistic
properties:
value: 33.3
Settings
Examples
Basic statistic
99.5
id: basic_example
type: Statistic
properties:
value: 99.5
prefixIcon: AlertTwoTone
Statistic JSON Schema Definition
type: object
properties:
properties:
additionalProperties: false
properties:
decimalSeparator:
default: .
description: Decimal separator.
type: string
groupSeparator:
default: ','
description: Group separator.
type: string
precision:
description: Number of decimals to display.
type: number
prefix:
description: Prefix text, priority over prefixIcon.
type: string
prefixIcon:
description: >-
Name of an Ant Design Icon or properties of an Icon block to customize
icon which prefix the statistic.
type:
- string
- object
suffix:
description: Suffix text, priority over suffixIcon.
type: string
suffixIcon:
description: >-
Name of an Ant Design Icon or properties of an Icon block to customize
icon which suffix the statistic.
type:
- string
- object
title:
description: Title to describe the component - supports html.
type: string
value:
oneOf:
- description: Value to display.
step: '0.01'
type: number
- description: Value to display.
type: string
valueStyle:
description: Css style to applied to value.
type: object
type: object