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
| 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 |
FUNCTION_LINE
public static final int FUNCTION_LINE
getFunction
public IFunction getFunction()
- This method returns the definition of the funtion
- Returns:
- The interface which defines the function
setFunction
public void setFunction(IFunction func)
- This method resets the current function to a new one.
- Parameters:
func - Any function which implements the simple IFunction interface