CalculationType
Home > @gooddata/sdk-ui-charts > CalculationType
CalculationType type
Defines the calculation types for an algorithm.
Signature:
export type CalculationType = "change" | "ratio" | "difference" | "change_difference";
Remarks
The table below summarizes the available calculation types:
Type | Algorithm |
---|---|
change | (Primary - Secondary) / Secondary |
difference | Primary - Secondary |
ratio | Primary / Secondary |
change\_difference | Change: (Primary - Secondary) / Secondary Difference: Primary - Secondary |