HasCustomTooltip

interface HasCustomTooltip<DOMAIN>

If a Mark has some specificities (large size, custom layout, custom stacking...) it may needs to implement HasCustomTooltip to provide additional information on how to "plug" the tooltip on a given Datum.

Return

the tooltip "anchor" position, or null if no tooltip can be placed for the given Datum

Parameters

datum

, the Datum on which the tooltip needs to be displayed

Functions

getTooltipPosition
Link copied to clipboard
common
abstract fun getTooltipPosition(datum: Datum<DOMAIN>, drawingZone: DrawingZone): TooltipPosition?
Return the TooltipPosition if available for th given Datum and the current DrawingZone.

Inheritors

AreaMark
Link copied to clipboard
BarMark
Link copied to clipboard
BoxPlotMark
Link copied to clipboard