ItemSource

Where each item's readings come from.

@internote/canvas-sdkInterface
On this page
import { ItemSource } from '@internote/canvas-sdk';

#Fields

datasetsRequired
The document's datasets, which a column is read from.
Record<string, ChalkDataset> | undefined
published
A list another mark publishes, for a value applied to one — as #trend.residuals -> (..<0: blue; 0..: red) colours each of a segment's items by a fit's residuals. Read where no dataset column answers the reference.
(id: string, member: string) => ReadonlyArray<unknown> | undefined
rowsRequired
Each item's data row, for a value applied to a column; null for an item no row stands behind.
ReadonlyArray<number | null>
self
The mark's own readings, one per item, by the derived attribute that publishes them — what #self.value or #self.degree reads (D68).
Readonly<Record<string, ReadonlyArray<unknown>>>

Declared in packages/canvas-sdk/src/data/item-looks.ts:49.

Last updated