Documentation

@kanunilabs/pivotgrid


@kanunilabs/pivotgrid / VanillaChartIntegrationOptions

Interface: VanillaChartIntegrationOptions

Properties

dataFieldsDisplayMode?

optional dataFieldsDisplayMode?: "singleAxis" | "splitAxes"


hideTotals?

optional hideTotals?: boolean


inverted?

optional inverted?: boolean


maxPoints?

optional maxPoints?: number


maxSeries?

optional maxSeries?: number

Cap on SERIES, which maxPoints never covered: it slices the argument side only, so a wide column tree asked a renderer for one element per visible column leaf, uncapped (#213).


processCell?

optional processCell?: (cell) => boolean

Drop a cell from the chart. React has carried this since the hook was written (usePivotChartSync PivotChartIntegrationOptions) and its transformer honours it; the vanilla options type simply never declared it, so the hook existed and was unreachable from here (#213).

Parameters

cell

PivotCell

Returns

boolean


transformer?

optional transformer?: (engineResult, fields, expandedPaths, locale, options) => ChartSyncResult

Parameters

engineResult

PivotEngineResult

fields

PivotField<never, PivotCellTemplate, any>[]

expandedPaths

Set<string>

locale

string

options

VanillaChartIntegrationOptions

Returns

ChartSyncResult