• ChartOverlayXY is an invisible overlay that captures the information of the point being hovered by the user. Given a list of timeseries, the onMouseMove callback will be called with the point, index of the timeseries (timeseriesIndex), and index of the point in the timeseries (pointIndex), which can be stored by the parent component in a state variable.

    See useHoveredPoint for a React hook used to keep track of the point being hovered.

    Parameters

    Returns Element

Generated using TypeDoc