highestVisibleX property

  1. @override
double get highestVisibleX
override

The x value at the top of the content area, where the x axis ends here.

Implementation

@override
double get highestVisibleX {
  getTransformer(AxisDependency.LEFT).getValuesByTouchPoint(
    viewPortHandler.contentLeft,
    viewPortHandler.contentTop,
    posForGetHighestVisibleX,
  );
  return toKotlinFloat(
    math.min(xAxis.axisMaximum, posForGetHighestVisibleX.y),
  );
}