Class Layer1PriceAxisRangeCalculatable.ResultPriceAxisInfo

java.lang.Object
velox.api.layer1.layers.strategies.interfaces.Layer1PriceAxisRangeCalculatable.ResultPriceAxisInfo
Enclosing interface:
Layer1PriceAxisRangeCalculatable

public static class Layer1PriceAxisRangeCalculatable.ResultPriceAxisInfo
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String[] labels  
    double maxValue  
    double minValue  
  • Constructor Summary

    Constructors 
    Constructor Description
    ResultPriceAxisInfo​(double minValue, double maxValue, java.lang.String[] labels)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • minValue

      public final double minValue
    • maxValue

      public final double maxValue
    • labels

      public final java.lang.String[] labels
  • Constructor Details

    • ResultPriceAxisInfo

      public ResultPriceAxisInfo​(double minValue, double maxValue, java.lang.String[] labels)
      Parameters:
      minValue - value corresponding to bottom pixel of chart
      maxValue - value corresponding to top pixel of chart
      labels - of horizontal lines, from bottom to top Example: for 2.3 lines count minValue = 0, maxValue = 23 and labels 10 and 20 is correct
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object