TooltipRenderer typedef

TooltipRenderer = List<Figure> Function(Offset anchor, Map<int, Tuple> selectedTuples)

Gets the figures of a tooltip.

The anchor is the result either set directly or calculated. The keys of selectedTuples are indexes of the tuples in the whole data set.

Implementation

typedef TooltipRenderer = List<Figure> Function(
  Offset anchor,
  Map<int, Tuple> selectedTuples,
);