getMinTranslateX method

double getMinTranslateX()

get the minimum value of translation

Implementation

double getMinTranslateX() {
  var x = -mDataLen + mWidth / scaleX - mPointWidth / 2 - xFrontPadding;
  return x >= 0 ? 0.0 : x;
}