ItemSource
Where each item's readings come from.
@internote/canvas-sdkOn this page
import { ItemSource } from '@internote/canvas-sdk';#Fields
datasetsThe document's datasets, which a column is read from.
Record<string, ChalkDataset> | undefinedpublishedA 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> | undefinedrowsEach item's data row, for a value applied to a column; null for an item no row stands behind.
ReadonlyArray<number | null>selfThe 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.