IComparison
Home > @gooddata/sdk-ui-charts > IComparison
IComparison interface
Configuration options for comparing values.
Signature:
export interface IComparison
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
calculationType? | CalculationType | (Optional) Defines how the comparison value will be calculated. | |
colorConfig? | IColorConfig | (Optional) Controls the application of conditional colors. | |
enabled | boolean | Enables or disables the comparison. | |
format? | ComparisonFormat | (Optional) Defines the number format of the comparison value. | |
isArrowEnabled? | boolean | (Optional) Controls the visibility of the arrow trend indicator and its direction based on conditions. | |
labelConfig? | ILabelConfig | (Optional) Controls the label displayed beneath the comparison value. | |
position? | ComparisonPosition | (Optional) Defines how the comparison value will be placed. | |
subFormat? | ComparisonFormat | (Optional) Defines the number format of the comparison sub value. |