showByIndex method

void showByIndex(
  1. int seriesIndex,
  2. int pointIndex
)

Displays the tooltip at the specified series and point index.

  • seriesIndex - index of the series for which the pointIndex is specified

  • pointIndex - index of the point for which the tooltip should be shown

Implementation

void showByIndex(int seriesIndex, int pointIndex) {
  if (_stateProperties != null) {
    final TooltipRenderingDetails renderingDetails =
        TooltipHelper.getRenderingDetails(
            _stateProperties.renderingDetails.tooltipBehaviorRenderer);
    renderingDetails.internalShowByIndex(seriesIndex, pointIndex);
  }
}