com.steema.teechart.functions
Class ManySeries

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.functions.Function
          extended by com.steema.teechart.functions.ManySeries
Direct Known Subclasses:
Divide, Multiply, Subtract

public class ManySeries
extends Function

Title: ManySeries class

Description: Internal use. Base class for multiple Series function calculations

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
 
Fields inherited from class com.steema.teechart.functions.Function
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
ManySeries()
           
 
Method Summary
 double calculateMany(java.util.Vector sourceSeries, int valueIndex)
          Performs function operation on list of series (SourceSeriesList).
protected  double calculateValue(double result, double value)
           
 
Methods inherited from class com.steema.teechart.functions.Function
addFunctionXY, addPoints, calculate, calculateAllPoints, calculateByPeriod, calculatePeriod, clear, dispose, doCalculation, getDescription, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManySeries

public ManySeries()
Method Detail

calculateValue

protected double calculateValue(double result,
                                double value)

calculateMany

public double calculateMany(java.util.Vector sourceSeries,
                            int valueIndex)
Performs function operation on list of series (SourceSeriesList).
The ValueIndex parameter defines ValueIndex of point in each Series in list.
You can override CalculateMany function to perform customized calculation on list of SourceSeries.

Overrides:
calculateMany in class Function
Parameters:
sourceSeries - ArrayList
valueIndex - int
Returns:
double