EspressReport 6.6

quadbase.util
Interface IFunctionLine

All Superinterfaces:
java.lang.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:
IDataLineSet, IFunction, IDataLine

Field Summary
static int FUNCTION_LINE
           
 
Fields inherited from interface quadbase.util.IDataLine
CLOSE, DASH_STYLE, DOTTED_STYLE, HIGH, LOW, OPEN, SOLID_STYLE
 
Method Summary
 IFunction getFunction()
          This method returns the definition of the funtion
 void setFunction(IFunction func)
          This method resets the current function to a new one.
 
Methods inherited from interface quadbase.util.IDataLine
getCoeff, getColor, getLineStyle, getLineType, getLineValue, getSeries, getShowHintValue, getThickness, getTitle, getValueColumn, getValueHint, isSecondaryValueUsed, isTitleVisibleInLegend, setCoeff, setColor, setLineStyle, setLineType, setLineValue, setSeries, setShowHintValue, setThickness, setTitle, setTitleVisibleInLegend, setValueColumn, setValueHint, useSecondaryValue
 
Methods inherited from interface quadbase.util.IReferenceObj
addAnnotation, getAnnotations, getReferencePosition, isVisible, removeAnnotation
 

Field Detail

FUNCTION_LINE

static final int FUNCTION_LINE
See Also:
Constant Field Values
Method Detail

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

EspressReport 6.6