Documentation

@kanunilabs/pivotgrid-enterprise


@kanunilabs/pivotgrid-enterprise / PivotChartWindow

Interface: PivotChartWindow

An extra chart window (rival analysis, charts §E.1 #10): the same pivot, drawn its own way — another type, stacking or format — floating over the grid beside the panel. Closing it removes it.

Properties

id

readonly id: string

'chart-2', 'chart-3'… — kept by saved reports, carried by its events.

Methods

close()

close(): void

Returns

void


download()

download(request?): Promise<boolean>

Parameters

request?

ChartImageRequest

Returns

Promise<boolean>


getImageDataUrl()

getImageDataUrl(request?): Promise<string | null>

Parameters

request?

ChartImageRequest

Returns

Promise<string | null>


getState()

getState(): PivotChartState

Returns

PivotChartState


update()

update(seed): void

Apply any part of the state; the parts left out stay as they are.

Parameters

seed

Partial<PivotChartState>

Returns

void