com.steema.teechart.functions
Class Divide
java.lang.Object
com.steema.teechart.TeeBase
com.steema.teechart.functions.Function
com.steema.teechart.functions.ManySeries
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Divide
public Divide()
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