setVisibleYRangeMinimum method

void setVisibleYRangeMinimum(
  1. double minYRange,
  2. AxisDependency axis
)

Sets the size of the area (range on the y-axis) that should be minimum visible at once, no further zooming in possible.

@param minYRange @param axis the axis for which this limit should apply

Implementation

void setVisibleYRangeMinimum(double minYRange, AxisDependency axis) {
  double yScale = getAxisRange(axis) / minYRange;
  viewPortHandler!.setMaximumScaleY(yScale);
}