com.steema.teechart.functions
Class Subtract

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.Subtract

public class Subtract
extends ManySeries

Title: Subtract class

Description: Subtract Function.

Example:


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

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
Subtract()
           
 
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

Subtract

public Subtract()
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