com.steema.teechart.functions
Class PVO

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.functions.Function
          extended by com.steema.teechart.functions.PVO

public class PVO
extends Function

Title: PVO class

Description: PVO 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
PVO()
           
PVO(IBaseChart c)
           
 
Method Summary
 void addPoints(java.util.Vector source)
          Gets all points from Source series, performs a function operation on points and stores results in ParentSeries.
 java.lang.String getDescription()
          Gets descriptive text.
 boolean getPercentage()
          Controls if the difference of two moving averages will be percentual or not.
 int getPeriod2()
          The period of the second exponential moving average.
 void setPercentage(boolean value)
          Controls if the difference of two moving averages will be percentual or not.
 void setPeriod2(int value)
          Defines the period of the second exponential moving average.
 
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

PVO

public PVO()

PVO

public PVO(IBaseChart c)
Method Detail

getPercentage

public boolean getPercentage()
Controls if the difference of two moving averages will be percentual or not.

Returns:
boolean

setPercentage

public void setPercentage(boolean value)
Controls if the difference of two moving averages will be percentual or not.

Parameters:
value - boolean

getPeriod2

public int getPeriod2()
The period of the second exponential moving average.
Default value: 26

Returns:
int

setPeriod2

public void setPeriod2(int value)
Defines the period of the second exponential moving average.
Default value: 26

Parameters:
value - int

addPoints

public void addPoints(java.util.Vector source)
Gets all points from Source series, performs a function operation on points 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