Package quadbase.util

Interface IFunctionLine

All Superinterfaces:
Cloneable, IDataLine, IReferenceObj

public interface IFunctionLine extends IDataLine
This class is used to draw function lines y = f(x) in a 2D scatter chart You may call newFunctionLine(...) of IDataLineSet interface to get a new object Note: (1) This class is only useful for 2D scatter charts. (2) The function cannot be saved to or read from a cht/tpl file (3) No line style supported For instance, QbChart chart = new QbChart(...); IFunctionLine line = chart.gethDataLineSet().newFunctionLine(...);
See Also:
  • Field Details

  • Method Details

    • getFunction

      IFunction getFunction()
      This method returns the definition of the funtion
      Returns:
      The interface which defines the function
    • setFunction

      void setFunction(IFunction func)
      This method resets the current function to a new one.
      Parameters:
      func - Any function which implements the simple IFunction interface