Documentation

@kanunilabs/pivotgrid


@kanunilabs/pivotgrid / ChartSyncResult

Interface: ChartSyncResult

Properties

chartData

chartData: unknown[]


chartSeries

chartSeries: ChartSeriesDef[]


isSampled?

optional isSampled?: boolean

True when maxPoints dropped categories.

The transformer has always returned this and the bridge has always passed it through — but the type stopped short of declaring it, so a TypeScript consumer could not read the one flag that says the picture is partial. A chart showing the first 100 of 5,000 categories with nothing saying so is a lie told in a picture (#213).


totalArgs?

optional totalArgs?: number

Categories BEFORE sampling, so a caller can show "100 of 5,000".