Interface AnalyticsHistogramMarkExperimental

One histogram bin over a numeric field.

interface AnalyticsHistogramMark {
    boundary: "inclusive" | "inclusive-exclusive";
    bucket: number;
    count?: number;
    key: string;
    label: string;
    max: number;
    min: number;
    targets?: readonly FeatureSelectionTarget[];
    value: null | number;
}

Hierarchy (view full)

Properties

boundary: "inclusive" | "inclusive-exclusive"

Which end of [min, max] is inclusive. Mirrors the aggregation spec.

bucket: number

Zero-based bin index in bucket order.

count?: number

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

key: string
label: string
max: number
min: number
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.