Class XYGraphModel

All Implemented Interfaces:
IPVWidgetModel, IAdaptable, IPropertySource

public class XYGraphModel extends AbstractPVWidgetModel
The model for XYGraph
  • Field Details

  • Constructor Details

    • XYGraphModel

      public XYGraphModel()
  • Method Details

    • configureProperties

      protected void configureProperties()
      Description copied from class: AbstractWidgetModel
      Configure the properties of the widget. Subclass should add new properties in this method.
      Specified by:
      configureProperties in class AbstractWidgetModel
    • processVersionDifference

      public void processVersionDifference(org.osgi.framework.Version boyVersionOnFile)
      Description copied from class: AbstractWidgetModel
      Make necessary adjustment for widget compatibility between different versions.
      Overrides:
      processVersionDifference in class AbstractPVWidgetModel
    • makeAxisPropID

      public static String makeAxisPropID(String propIDPre, int index)
    • makeTracePropID

      public static String makeTracePropID(String propIDPre, int index)
    • getTitle

      public String getTitle()
      Returns:
      the title
    • getTitleFont

      public OPIFont getTitleFont()
      Return the title font.
      Returns:
      The title font.
    • isShowPlotAreaBorder

      public boolean isShowPlotAreaBorder()
      Returns:
      true if the plot area border should be shown, false otherwise
    • getPlotAreaBackColor

      public RGB getPlotAreaBackColor()
      Returns:
      the plot area background color
    • isTransprent

      public boolean isTransprent()
      Returns:
      true if the XY Graph is transparent, false otherwise
    • isShowLegend

      public boolean isShowLegend()
      Returns:
      true if the legend should be shown, false otherwise
    • isShowToolbar

      public boolean isShowToolbar()
      Returns:
      true if the legend should be shown, false otherwise
    • getAxesAmount

      public int getAxesAmount()
      Returns:
      The number of axes.
    • getTracesAmount

      public int getTracesAmount()
      Returns:
      The number of traces.
    • getTypeID

      public String getTypeID()
      Specified by:
      getTypeID in class AbstractWidgetModel
      Returns:
      the unique typeID of the model.