SketchClassTableProps
Properties
formatPerc?
optional formatPerc: boolean;
Whether to format values as percentages, defaults to false
metricGroup
metricGroup: object;
Data class definitions
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
type: string;
Metric type
rows
rows: Record<string, string | number>[];
Table rows, expected to have sketchName property and one property for each classId in classes