com.steema.teechart.functions
Class Divide

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.functions.Function
          extended by com.steema.teechart.functions.ManySeries
              extended by com.steema.teechart.functions.Divide

public class Divide
extends ManySeries

Title: Divide class

Description: Divide Function.

Example:


 divideFunction = new com.steema.teechart.functions.Divide();
 divideFunction.setChart(myChart.getChart());
 divideFunction.setPeriod(0); //all points

 ArrayList tmpArray = new ArrayList();
 tmpArray.add(barSeries1);
 tmpArray.add(barSeries2);
 lineSeries.setDataSource(tmpArray);
 lineSeries.setFunction(divideFunction);
 

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
Divide()
           
 
Method Summary
protected  double calculateValue(double result, double value)
           
 java.lang.String getDescription()
          Gets descriptive text.
 
Methods inherited from class com.steema.teechart.functions.ManySeries
calculateMany
 
Methods inherited from class com.steema.teechart.functions.Function
addFunctionXY, addPoints, calculate, calculateAllPoints, calculateByPeriod, calculatePeriod, clear, dispose, doCalculation, 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

Divide

public Divide()
Method Detail

calculateValue

protected double calculateValue(double result,
                                double value)
Overrides:
calculateValue in class ManySeries

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Function
Returns:
String