Class EngineChart

java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.EngineChart

public abstract class EngineChart extends com.strategyquant.tradinglib.debug.Debugger
The Class EngineChart.
  • Field Details

    • Log

      public static final org.slf4j.Logger Log
      The Constant Log.
    • DATA_TYPE_CHART

      public static final String DATA_TYPE_CHART
      The Constant DATA_TYPE_CHART.
      See Also:
      Constant Field Values
    • DATA_TYPE_GRID

      public static final String DATA_TYPE_GRID
      The Constant DATA_TYPE_GRID.
      See Also:
      Constant Field Values
    • DATA_TYPE_ROWS

      public static final String DATA_TYPE_ROWS
      The Constant DATA_TYPE_ROWS.
      See Also:
      Constant Field Values
    • TYPE_GLOBAL

      public static final int TYPE_GLOBAL
      The Constant TYPE_GLOBAL.
      See Also:
      Constant Field Values
    • TYPE_PROJECT_BASED

      public static final int TYPE_PROJECT_BASED
      The Constant TYPE_PROJECT_BASED.
      See Also:
      Constant Field Values
    • name

      public String name
      The name.
    • type

      public int type
      The type.
  • Constructor Details

    • EngineChart

      public EngineChart(String name, int type)
      Instantiates a new engine chart.
      Parameters:
      name - the name
      type - the type
  • Method Details

    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getType

      public int getType()
      Gets the type.
      Returns:
      the type
    • setProject

      public void setProject(SQProject project)
      Sets the project.
      Parameters:
      project - the new project
    • addNextValue

      public abstract void addNextValue()
      Adds the next value.
    • print

      public abstract org.json.JSONObject print()
      Prints the.
      Returns:
      the JSON object
    • getClassName

      public String getClassName()
      Gets the class name.
      Returns:
      the class name