public class Add extends Function
Title: Add class
Description: Add Function.
Example:
addFunction = new com.steema.teechart.functions.Add(); addFunction.setChart(myChart.getChart()); addFunction.setPeriod(0); //all points
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
chart, InternalUse
Constructor and Description |
---|
Add() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(Series sourceSeries,
int firstIndex,
int lastIndex)
Performs function operation on SourceSeries series.
|
double |
calculateMany(java.util.ArrayList sourceSeriesList,
int valueIndex)
Performs function operation on list of series (SourceSeriesList).
|
java.lang.String |
getDescription()
Gets descriptive text.
|
addFunctionXY, addPoints, calculateAllPoints, calculateByPeriod, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public double calculate(Series sourceSeries, int firstIndex, int lastIndex)
public double calculateMany(java.util.ArrayList sourceSeriesList, int valueIndex)
calculateMany
in class Function
sourceSeriesList
- ArrayListvalueIndex
- intpublic java.lang.String getDescription()
getDescription
in class Function