IImpactFeasibilityMatrixSchema
@spartanfx/react / index / IImpactFeasibilityMatrixSchema
Interface: IImpactFeasibilityMatrixSchema<TItem>
Maps the consumer item shape onto the four normalized attributes the matrix needs. Each field accepts a property key or a derive function.
Example
const schema: IImpactFeasibilityMatrixSchema<Idea> = {
id: 'key',
title: (idea) => idea.name,
impact: 'businessValue',
feasibility: (idea) => 100 - idea.effort,
};
Type Parameters
TItem
TItem
Properties
| Property | Type | Description |
|---|---|---|
feasibility | TSchemaFieldResolver<TItem, number> | Resolves the Feasibility score (X axis). |
id | TSchemaFieldResolver<TItem, string | number> | Resolves a stable unique id. |
impact | TSchemaFieldResolver<TItem, number> | Resolves the Impact score (Y axis). |
title | TSchemaFieldResolver<TItem, string> | Resolves the human-readable title shown on the plotted item. |