Skip to main content

Type Alias: PCPToolContext

PCPToolContext: object

Defined in: packages/echarts/src/pcp/tool.ts:83

The context for the PCP tool.

Type declaration

config?

optional config: object

config.isDraggable?

optional isDraggable: boolean

config.isExpanded?

optional isExpanded: boolean

config.theme?

optional theme: string

getValues()

getValues: (datasetName, variableName) => Promise<number[]>

Parameters

datasetName

string

variableName

string

Returns

Promise<number[]>

onSelected()?

optional onSelected: (datasetName, selectedIndices) => void

Parameters

datasetName

string

selectedIndices

number[]

Returns

void