getHighestVisibleX method
Returns the highest x-index (value on the x-axis) that is still visible on the chart.
@return
Implementation
@override
double getHighestVisibleX() {
getTransformer(AxisDependency.left)!.getValuesByTouchPoint2(
viewPortHandler!.contentRight(),
viewPortHandler!.contentBottom(),
posForGetHighestVisibleX);
double result = min(xAxis!.axisMaximum!, posForGetHighestVisibleX.x);
return result;
}