com.steema.teechart.functions
Class Perimeter
java.lang.Object
com.steema.teechart.TeeBase
com.steema.teechart.functions.Function
com.steema.teechart.functions.Perimeter
public class Perimeter
- extends Function
Title: Perimeter class
Description: Perimeter function.
Example:
function = new com.steema.teechart.functions.Perimeter();
function.setChart(myChart.getChart());
function.setPeriod(0); //all points
Line functionSeries = new Line(myChart.getChart());
functionSeries.setTitle("Perimeter");
functionSeries.setDataSource(series);
functionSeries.getXValues().setOrder(ValueListOrder.NONE);
//functionSeries.setVerticalAxis(VerticalAxis.RIGHT);
functionSeries.setFunction(function);
Copyright (c) 2005-2013 by Steema Software SL. All Rights
Reserved.
Company: Steema Software SL
Method Summary |
void |
addPoints(java.util.Vector source)
Gets all points from Source series, performs a function operation and
stores results in ParentSeries. |
java.lang.String |
getDescription()
Gets descriptive text. |
Methods inherited from class com.steema.teechart.functions.Function |
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, 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 |
Perimeter
public Perimeter()
Perimeter
public Perimeter(IBaseChart c)
addPoints
public void addPoints(java.util.Vector source)
- Description copied from class:
Function
- Gets all points from Source series, performs a function operation and
stores results in ParentSeries.
- Overrides:
addPoints
in class Function
- Parameters:
source
- ArrayList
getDescription
public java.lang.String getDescription()
- Gets descriptive text.
- Overrides:
getDescription
in class Function
- Returns:
- String