getMinTranslateX method

double getMinTranslateX()

获取平移的最小值

Implementation

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