Type alias KpiValueStyleOptions
KpiValueStyleOptions:
object
Configuration that defines styling of the KPI headline value.
To color the headline value, set a color (uniform or conditional) on the value measure in KpiChartDataOptions.value — the standard measure-coloring mechanism used across the SDK.
Type declaration
conditionalIcons
conditionalIcons?: KpiIconCondition[]
Condition-driven icons shown next to the headline value; the first matching condition wins.
noDataText
noDataText?: string
Text shown in place of the headline when the value is null, keeping the card title and styling. When omitted, the standard no-results overlay is shown instead.
textSize
textSize?: KpiTextSize
Text size of the headline value: 'auto' to scale it to the card, or a fixed size in px.
Default
'auto'
textStyle
textStyle?: KpiTextStyle
Typography of the headline value.
Default
{ fontWeight: '700', fontStyle: 'normal', textTransform: 'none' } with the theme font