Type alias CursorFormatter<ChartType, SolveResultType>
Cursor
Formatter
<ChartType, SolveResultType>: ((chart
: ChartType, hit
: SolveResultType, hits
: SolveResultType[]) => ResultTableContent)
Type declaration
-
- (chart: ChartType, hit: SolveResultType, hits: SolveResultType[]): ResultTableContent
-
Parameters
-
chart: ChartType
-
hit: SolveResultType
-
hits: SolveResultType[]
Callback function which is used to specify text and other content displayed in cursor result tables. Receives 3 parameters:
SolveResultobject that contains information about the pointed dataSolveResultobjects in case of"show-all"behaviorIn order to use series specific data properties (e.g. Heatmap sample "intensity"), you should use type guards to assert the type of the
SolveResult: