public class Custom extends Function
Title: Custom class
Description: Custom y=f(x) function
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Modifier and Type | Class and Description |
|---|---|
static interface |
Custom.YCalculator |
| Modifier and Type | Field and Description |
|---|---|
double |
x |
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updatingchart, InternalUse| Constructor and Description |
|---|
Custom() |
Custom(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPoints(java.util.ArrayList source)
Gets all points from Source series, performs a function operation and
stores results in ParentSeries.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
int |
getNumPoints()
The number of points.
The function will call its OnCalculate event this number of times. |
double |
getStartX()
The initial value for the "X" parameter.
The function will call its OnCalculate event this number of times. |
Custom.YCalculator |
getYCalculator() |
void |
setNumPoints(int value)
Sets the number of points.
The function will call its OnCalculate event this number of times. |
void |
setStartX(double value)
Sets the initial value for the "X" parameter.
The function will call its OnCalculate event this number of times. |
void |
setYCalculator(Custom.YCalculator value) |
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueListgetChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertypublic Custom()
public Custom(IBaseChart c)
public int getNumPoints()
public void setNumPoints(int value)
value - intpublic Custom.YCalculator getYCalculator()
public void setYCalculator(Custom.YCalculator value)
public double getStartX()
public void setStartX(double value)
value - doublepublic void addPoints(java.util.ArrayList source)
public java.lang.String getDescription()
getDescription in class Function