Package quadbase.util
Interface IFunctionLine
- All Superinterfaces:
Cloneable,IDataLine,IReferenceObj
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 Summary
FieldsFields inherited from interface quadbase.util.IDataLine
CLOSE, DASH_STYLE, DOTTED_STYLE, HIGH, LOW, OPEN, SOLID_STYLE -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the definition of the funtionvoidsetFunction(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, useSecondaryValueMethods inherited from interface quadbase.util.IReferenceObj
addAnnotation, getAnnotations, getReferencePosition, isVisible, removeAnnotation
-
Field Details
-
FUNCTION_LINE
static final int FUNCTION_LINE- See Also:
-
-
Method Details
-
getFunction
IFunction getFunction()This method returns the definition of the funtion- Returns:
- The interface which defines the function
-
setFunction
This method resets the current function to a new one.- Parameters:
func- Any function which implements the simple IFunction interface
-