Package quadbase.util

Interface IDataLineSet


public interface IDataLineSet
This interface contains methods to add/remove data lines from the chart. Properties of the data lines can be changed by methods declared in IDataLine.

A handle to an object that implements this interface can be obtained by calling the gethDataLines method defined in QbChart.

See Also:
  • Method Details

    • newTrendLine

      ITrendLine newTrendLine(int linetype, int coeff, String title)
      Create a new data line to add to the chart. Properties of this trend line can be modified by calling methods declared in ITrendLine.
      Parameters:
      linetype - Any line type defined in quadbase.util.ITrendLine
      coeff - If the trend line is type POLYNOMIAL, it will set the degree. If the line type is SIMPLE_AVERAGE, TRIANGULAR_AVERAGE and EXPONENTIAL_AVERAGE it will set the period. All other line types should be given a value of 1.
      title - The title of the trend line
      Returns:
      A handle to ITrendLine
      See Also:
    • newHorzVertLine

      IHorzVertLine newHorzVertLine(int linetype, String label)
      Create a new horizontal/vertical line to add to the chart. Properties of this line can be modified by calling methods declared in IHorzVertLine.
      Parameters:
      linetype - Any line type defined in quadbase.util.IHorzVertLine
      label - Line label
      Returns:
      A handle to IHorzVertLine
      See Also:
    • newControlLine

      IControlLine newControlLine(int linetype, String label)
      Create a new control line to add to the chart. Properties of this line can be modified by calling methods declared in IControlLine.
      Parameters:
      linetype - Any line type defined in quadbase.util.IControlLine
      label - Line label
      Returns:
      A handle to IControlLine
      See Also:
    • newControlLine

      IControlLine newControlLine(int linetype, String label, int level)
      Create a new control line to add to the stack chart. Properties of this line can be modified by calling methods declared in IControlLine.
      Parameters:
      linetype - Any line type defined in quadbase.util.IControlLine
      label - Line label
      level - stack level, any number out of stack level indicates the top stack level
      Returns:
      A handle to IControlLine
      See Also:
    • newFunctionLine

      IFunctionLine newFunctionLine(IFunction func, String label)
      Create a new Function line to add to the chart. Properties of this line can be modified by calling methods declared in IFunctionLine.
      Parameters:
      func - The function
      label - The line label
      Returns:
      A handle to IFunctionLine
      See Also:
    • add

      void add(IDataLine l)
      Adds a new data line to the chart.

      Associated QbChart property: None

      Parameters:
      l - The data line to add to the chart.
      See Also:
    • remove

      void remove(IDataLine l)
      Delete the specified data line from the chart.

      Associated QbChart property: None

      Parameters:
      l - The data line to remove from the chart.
    • removeAll

      void removeAll()
      Removes all the data lines currently defined in the chart.
    • elements

      Enumeration elements()
      Returns the list of data lines defined in the chart.

      Associated QbChart property: None

      Returns:
      The list of data lines. All items in the list are of type quadbase.util.IDataLine.
      See Also:
    • set

      void set(Enumeration elements)
      Sets a list of data lines in the chart.
      Parameters:
      elements - The list of new data lines to add to the chart. Each element of the list should be of type quadbase.util.IDataLine.
      See Also: