Class MChart

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Chart, I_Persistent, Evaluatee

public class MChart extends X_AD_Chart
Extended model class for AD_Chart
See Also:
  • Constructor Details

    • MChart

      public MChart(Properties ctx, String AD_Chart_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_Chart_UU - UUID key
      trxName - Transaction
    • MChart

      public MChart(Properties ctx, int AD_Chart_ID, String trxName)
      Parameters:
      ctx -
      AD_Chart_ID -
      trxName -
    • MChart

      public MChart(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • getDatasources

      public List<MChartDatasource> getDatasources()
      Returns:
      list of chart source
    • setWindowNo

      public void setWindowNo(int windowNo)
      Parameters:
      windowNo -
    • getWindowNo

      public int getWindowNo()
      Returns:
      window number
    • getChartImage

      public BufferedImage getChartImage(int width, int height)
      Get chart image
      Parameters:
      id -
      width -
      height -
      Returns:
      chart image
    • getData

      public com.google.gson.JsonObject getData()
      Get the data from the chart on JSON format
      Returns: