Skip to main content

Type Alias: BubbleChartToolContext

BubbleChartToolContext: object

Defined in: packages/echarts/src/bubble-chart/tool.ts:182

The context for the bubble chart 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

Param

The function to get the values of the variable from the dataset.

Param

The function to handle the selected indices of the bubble chart.

Param

The configuration for the bubble chart.