getLowestVisibleX method

  1. @override
double getLowestVisibleX()
override

Returns the lowest x-index (value on the x-axis) that is still visible on the chart.

@return

Implementation

@override
double getLowestVisibleX() {
  getTransformer(AxisDependency.left)!.getValuesByTouchPoint2(
      viewPortHandler!.contentLeft(),
      viewPortHandler!.contentBottom(),
      posForGetLowestVisibleX);
  double result = max(xAxis!.axisMinimum!, posForGetLowestVisibleX.x);
  return result;
}