namedStopsOf

Returns the distinct names a column holds, in the order the rows first give them, which is what a categorical parameter's stops are read from.

@internote/canvas-sdkFunction
On this page
import { namedStopsOf } from '@internote/canvas-sdk';

First-appearance order rather than alphabetical: the author's rows are the author's ordering.

#Signature

(
    datasets: Record<string, ChalkDataset> | undefined,
    sliceBinding: unknown,
): string[]

#Parameters

datasets
The document's datasets.
sliceBinding
The binding of the column.

Declared in packages/canvas-sdk/src/data/sliced-series.ts:171.

Last updated