Interface OnlineCalculatable.DataCoordinateMarker

Enclosing interface:
OnlineCalculatable

public static interface OnlineCalculatable.DataCoordinateMarker
Marker bound to data coordinates. Useful for, say, bars.
  • Method Details

    • getMinY

      double getMinY()
      Y coordinate of the lower edge. Used to adjust the range of bottom panel. Doesn't have to be strictly equal to the actual icons edge coordinate, since it's only used for range adjustments. If you are OK with part of the icon being out of range, you can specify only the critical part boundaries.
    • getMaxY

      double getMaxY()
      Similar to getMinY(), but for the upper edge.
    • getValueY

      double getValueY()
      Value used for the widget/line
    • makeMarker

      OnlineCalculatable.Marker makeMarker(Function<Double,Integer> yDataCoordinateToPixelFunction)