startIndex method

int startIndex(
  1. int dataLength
)

First visible data index.

Implementation

int startIndex(int dataLength) => fractionToIndex(xStart, dataLength);