format
Home > @gooddata/sdk-ui-charts > IComparison > format
IComparison.format property
Defines the number format of the comparison value.
Signature:
format?: ComparisonFormat;
Remarks
The default value is based on the calculation type:
| Calculation Type | Default format |
|---|---|
| change | Percent (rounded) |
| ratio | Percent (rounded) |
| difference | Inherit |