ScatterTouchResponse constructor

ScatterTouchResponse(
  1. ScatterTouchedSpot? touchedSpot
)

If touch happens, ScatterChart processes it internally and passes out a ScatterTouchResponse, it gives you information about the touched spot.

touchedSpot tells you in which spot (of ScatterChartData.scatterSpots) touch happened.

Implementation

ScatterTouchResponse(this.touchedSpot) : super();