Skip to content

Interface: IntervalFacetBinding

Defined in: mosaic-facet.ts:62

Bind one interval dimension to a 1-D interval component (histogram brush, ramp legend). to maps the semantic value into the component's data space (default: [lo ?? null, hi ?? null]); from maps a component value back.

Properties

dim

dim: SelectionDim<IntervalValue>

Defined in: mosaic-facet.ts:63


from?

optional from?: (cv) => IntervalValue

Defined in: mosaic-facet.ts:67

Parameters

cv

unknown

Returns

IntervalValue


producer

producer: string

Defined in: mosaic-facet.ts:65

Registry name of the producer to adopt (e.g. "seismos/mag-hist").


to?

optional to?: (v) => readonly (number | Date | null)[] | null

Defined in: mosaic-facet.ts:66

Parameters

v

IntervalValue

Returns

readonly (number | Date | null)[] | null