com.steema.teechart.functions
Class Multiply

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.Multiply
All Implemented Interfaces:
java.io.Serializable

public class Multiply
extends ManySeries

Title: Multiply class

Description: Multiply Function.

Example:


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

 Series[] tmp={barSeries1,barSeries2};
 lineSeries.setDataSource(tmp);

 lineSeries.setFunction(multiplyFunction);
 

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

Company: Steema Software SL

See Also:
Serialized Form

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
 
Constructor Summary
Multiply()
           
 
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, 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, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Multiply

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