Home > @gooddata/sdk-ui-dashboard > KpiWidgetComparison
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
export interface KpiWidgetComparison
|comparisonDirection?||IKpiComparisonDirection||(BETA) (Optional) Customizes whether growth of the measure compared to previous period is considered a good thing or a bad thing. This setting influences the visuals (red vs green indicators)|
|comparisonType?||IKpiComparisonTypeComparison||(BETA) (Optional) Type of comparison to do. May be period-over-period, previous period or no comparison.TODO: explain PoP & previous periodIf not specified, defaults to no comparison.|