TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Class: Smoothing

Source Location: /functions/Smoothing.php

Class Overview

TeeBase
   |
   --Functions
      |
      --Smoothing

Smoothing class


Author(s):

Version:

  • 1.0

Copyright:

  • (c) 1995-2009 by Steema Software SL. All Rights Reserved. <info@steema.com>

Methods


Inherited Variables

Inherited Methods

Class: Functions

Functions::Functions()
Functions::addFunctionXY()
Functions::addPoints()
Gets all points from Source series, performs a function operation and stores results in ParentSeries.
Functions::calculate()
Performs function operation on SourceSeries series.
Functions::calculateAllPoints()
Functions::calculateByPeriod()
Functions::calculateMany()
Performs function operation on list of series (SourceSeriesList).
Functions::calculatePeriod()
Functions::clear()
Functions::doCalculation()
Functions::getDescription()
Gets descriptive text.
Functions::getPeriod()
Controls how many points or X range will trigger a new point
Functions::getPeriodAlign()
Controls where to place function calculations inside the full period
Functions::getPeriodStyle()
Controls how the Period property is interpreted.
Functions::getSeries()
Returns the Series parent of Function.
Run-time and read only.
The Series property returns the Series parent of this Function.
TChart uses Series to do the actual drawing.
Functions::newInstance()
Functions::readResolve()
Functions::recalculate()
Performs a checkDataSource method call on parent Series.
Functions::setPeriod()
Functions::setPeriodAlign()
Functions::setPeriodStyle()
Functions::setSeries()
Functions::valueList()
Functions::__get()
Functions::__set()

Class: TeeBase

TeeBase::__construct()
TeeBase::getChart()
Chart associated with this object.
TeeBase::invalidate()
Use invalidate when the entire canvas needs to be repainted.
TeeBase::setBooleanProperty()
TeeBase::setChart()
Chart associated with this object.
TeeBase::setColorProperty()
TeeBase::setDoubleProperty()
TeeBase::setIntegerProperty()
TeeBase::setStringProperty()
TeeBase::_setColorProperty()
TeeBase::__get()
TeeBase::__set()

Class Details

[line 16]
Smoothing class

Description: Smoothing Function




Tags:

author:  
version:  1.0
copyright:  (c) 1995-2009 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Methods


constructor Smoothing [line 21]

Smoothing Smoothing( [ $c = null])



Tags:

access:  public


Parameters:

   $c  

[ Top ]

method addPoints [line 93]

void addPoints( source $source)

gets all points from Source series, performs a function operation on points and finally stores results in ParentSeries.




Tags:

access:  public


Overrides Functions::addPoints() (Gets all points from Source series, performs a function operation and stores results in ParentSeries.
)

Parameters:

source   $source   ArrayList

[ Top ]

method getDescription [line 128]

String getDescription( )

Gets descriptive text.



Tags:

access:  public


Overrides Functions::getDescription() (Gets descriptive text.)

[ Top ]

method getFactor [line 69]

int getFactor( )

The number of times the resulting smooth points are compared to source

points.
For example, a value of 4 means the smooth points will be 4 times the number of source points.
The greater the factor value is, the smoother the resulting curves will be.
Default value: 4




Tags:

access:  public


[ Top ]

method getInterpolate [line 38]

boolean getInterpolate( )

When true, resulting smooth curves will pass exactly over source points.


When false, the smooth curves will not necessarily pass over source points.
Default value: true




Tags:

access:  public


[ Top ]

method setFactor [line 80]

void setFactor( value $value)

Sets the number of times the resulting smooth points are compared to source points.
Default value: 4



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setInterpolate [line 51]

void setInterpolate( value $value)

Resulting smooth curves will pass exactly over source points when true.


When false, the smooth curves will not necessarily pass over source points.
Default value: true




Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:08:19 +0200 by phpDocumentor 1.4.1