TooltipRenderer typedef

TooltipRenderer = List<MarkElement<ElementStyle>> Function(Size size, Offset anchor, Map<int, Tuple> selectedTuples)

Gets the elements 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<MarkElement> Function(
  Size size,
  Offset anchor,
  Map<int, Tuple> selectedTuples,
);