com.steema.teechart.functions
Class Perimeter

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.functions.Function
          extended by 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


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
Perimeter()
           
Perimeter(IBaseChart c)
           
 
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 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

Perimeter

public Perimeter()

Perimeter

public Perimeter(IBaseChart c)
Method Detail

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