Skip to main content
Version: Next

ClassTableProps

Properties​

columnConfig​

columnConfig: ClassTableColumnConfig[];

configuration of one or more columns to display


metricGroup​

metricGroup: object;

Source for metric class definitions. if group has layerId at top-level, will display one toggle for whole group

classes​

classes: object[];

data classes used by group

classKey?​

optional classKey: string;

Optional datasource class key used to source classIds

datasourceId?​

optional datasourceId: string;

Datasource to generate metrics from

layerId?​

optional layerId: string;

Optional ID of map layer associated with this metric

metricId​

metricId: string;

Unique id of metric in project

objectiveId?​

optional objectiveId: string;

group level objective, applies to all classes

type?​

optional type: string;

unique identifier of what the metric represents, such as its type and method for calculation - e.g. areaOverlap, valueOverlap. To be defined by the user


objective?​

optional objective: object | object[];

Optional objective for metric


rows​

rows: object[];

Table row objects, each expected to have a classId and value.