Skip to main content

Type Alias: GetValues()

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

Defined in: packages/echarts/src/histogram/definition.ts:19

Function signature for retrieving variable values from a dataset.

note

Users should implement this function to retrieve the values of a variable from their own dataset e.g. database.

Parameters

datasetName

string

Name of the target dataset

variableName

string

Name of the variable to retrieve

Returns

Promise<number[]>

Promise containing an array of numeric values