Interface AnalyticsCategoryMarkExperimental

One category / group-by bucket.

interface AnalyticsCategoryMark {
    count?: number;
    filterValue: unknown;
    key: string;
    label: string;
    overflow?: boolean;
    targets?: readonly FeatureSelectionTarget[];
    value: null | number;
}

Hierarchy (view full)

Properties

count?: number

Row count behind the value, when it differs from value.

filterValue: unknown

Raw field value used to build the linked filter clause. Distinct from label, which may be localized or truncated. null selects the null bucket via an is-null clause.

key: string
label: string
overflow?: boolean

True for a producer-supplied "other"/overflow bucket, which cannot filter.

targets?: readonly FeatureSelectionTarget[]

Feature targets this mark stands for, when the producer can enumerate them cheaply. Enables mark-click to drive map/table selection directly instead of only filtering.

value: null | number

Measured value. null means "no value" and must render as an explicit gap — never as 0 — unless the null policy is counted-as-zero.