Skip to main content
Version: 1.1.0

IImpactFeasibilityMatrixProps

@spartanfx/react v1.1.0


@spartanfx/react / index / IImpactFeasibilityMatrixProps

Interface: IImpactFeasibilityMatrixProps<TItem>

Props for ImpactFeasibilityMatrix.

Type Parameters

TItem

TItem

Properties

PropertyTypeDescription
appearance?AppearanceModeLight / dark appearance. Default AppearanceMode.light.
ariaLabel?stringAccessible label for the whole matrix.
avoidOverlap?booleanNudge overlapping items apart so plots at the same position don't overlap (a deterministic relaxation). Default true.
className?stringExtra class name on the root element.
defaultMaximizedQuadrant?TQuadrantKeyInitial maximized quadrant for uncontrolled usage. Default null.
emptyState?ReactNodeCustom content for the empty state (no plottable items).
feasibilityAxisLabel?stringLabel for the Feasibility (X) axis. Default 'Feasibility'.
feasibilityRange?IScoreRangeFeasibility (X) score range. Default { min: 1, max: 100 }.
height?string | numberRoot height. A number is treated as pixels. Omit to use the intrinsic aspect ratio.
impactAxisLabel?stringLabel for the Impact (Y) axis. Default 'Impact'.
impactRange?IScoreRangeImpact (Y) score range. Default { min: 1, max: 100 }.
itemsTItem[]The items to plot. Shape is opaque to the component; mapped via schema.
maximizedQuadrant?TQuadrantKeyControlled maximized quadrant. null = standard 2×2 view.
onItemClick?(item) => voidCalled with the normalized item when a plotted item is activated (click / Enter / Space).
onItemFocus?(context) => voidCalled when a plotted item receives keyboard / pointer focus.
onMaximizedQuadrantChange?(quadrantKey) => voidCalled whenever the maximized quadrant changes (controlled or uncontrolled).
quadrantLabels?Partial<Record<TQuadrantKey, string>>Overrides for the default quadrant labels.
renderItem?(context) => ReactNodeCustom renderer for a plotted item.
schemaIImpactFeasibilityMatrixSchema<TItem>Maps the item shape onto { id, title, impact, feasibility }.
showAxisLabels?booleanShow the Impact / Feasibility axis labels. Default true.
showGrid?booleanShow the quadrant divider grid lines. Default true.
showItemCount?booleanShow the item count, in parentheses, beside each quadrant label. Default true.
showItemTitles?booleanRender each item's title beside its marker. When false, items render as bare markers and the title moves into the hover / focus tooltip. Default true.
showQuadrantActions?booleanShow the maximize / minimize quadrant action buttons. Default true.
showQuadrantLabels?booleanShow the quadrant labels. Default true.
style?CSSPropertiesInline style on the root element (merged after token CSS variables).
tokens?PartialDeep<IImpactFeasibilityMatrixTokens>Deep-partial token overrides, merged over the active theme base.
width?string | numberRoot width. A number is treated as pixels. Default '100%'.