The Statistic component for Retool Apps
A content area to display primary and secondary number values with optional trend indicators.
For more information about this component, refer to the Informational components guide.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
align
The horizontal alignment of the contents.
| Type | string | ||||||||
| Format | Plain Text | ||||||||
| Configurability | Inspector | ||||||||
| Allowed Values |
| ||||||||
| Default | left |
Examples
false"center"
clickable
Whether there is an enabled Click event handler.
| Type | boolean |
| Format | True/False |
| Configurability | Inspector > Interaction > Event handlers |
| Default | false |
Examples
falsetrue
currency
A three-letter ISO currency code to use if format is currency.
| Type | string |
| Configurability | Inspector |
| Default | null |