getMarkerPosition method

List<double> getMarkerPosition(
  1. Highlight high
)

Returns the actual position in pixels of the MarkerView for the given Highlight object.

@param high @return

Implementation

List<double> getMarkerPosition(Highlight high) {
  return List<double>.empty(growable: true)
    ..add(high.drawX ?? 0)
    ..add(high.drawY ?? 0);
}