Skip to content

Type Alias: MarkContribution ​

MarkContribution = object

Defined in: types-provenance.ts:149

Share of one rendered row produced by a set of selected source features.

value applies the row reducer to the selected units only, so it is directly comparable with the row's own value on the same scale.

Properties ​

additive ​

additive: boolean

Defined in: types-provenance.ts:162

Whether value is a part of totalValue (count, sum) or a statistic of the selected subset that is not additive (avg, min, max).


selectedUnits ​

selectedUnits: number

Defined in: types-provenance.ts:151

Units of the row that come from selected features.


totalUnits ​

totalUnits: number

Defined in: types-provenance.ts:153

All units reduced into the row.


totalValue ​

totalValue: number | null

Defined in: types-provenance.ts:157

Reducer applied to all units of the row.


value ​

value: number | null

Defined in: types-provenance.ts:155

Reducer applied to the selected units, or null when none is selected.

Released under the MIT License.