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

Class: Variance

Source Location: /functions/Variance.php

Class Overview

TeeBase
   |
   --Functions
      |
      --Variance

<p>Title: Variance class</p>


Author(s):

Version:

  • 1.0

Copyright:

  • (c) 1995-2010 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 29]
<p>Title: Variance class</p>

Description: Variance function.

Example:


 $function = Variance();
 $function->setChart($myChart->getChart());
 $function->setPeriod(0); //all points

 $functionSeries = new Line($myChart->getChart());
 $functionSeries->setTitle("Variance");
 $functionSeries->setDataSource($series);
 $functionSeries->setVerticalAxis(VerticalAxis::$RIGHT);
 $functionSeries->setFunction($function);
 

Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL




Tags:

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


[ Top ]


Class Methods


method calculate [line 55]

double calculate( s $s, firstIndex $firstIndex, lastIndex $lastIndex)

Performs function operation on s series.



Tags:

access:  public


Overrides Functions::calculate() (Performs function operation on SourceSeries series.
)

Parameters:

s   $s   Series
firstIndex   $firstIndex   int
lastIndex   $lastIndex   int

[ Top ]

method calculateMany [line 102]

double calculateMany( sourceSeries $sourceSeries, valueIndex $valueIndex)

Performs function operation on all sourceSeries series.



Tags:

access:  public


Overrides Functions::calculateMany() (Performs function operation on list of series (SourceSeriesList).
)

Parameters:

sourceSeries   $sourceSeries   ArrayList
valueIndex   $valueIndex   int

[ Top ]

method getDescription [line 137]

String getDescription( )

Gets descriptive text.



Tags:

access:  public


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

[ Top ]

method __get [line 33]

void __get( $property)



Overrides Functions::__get() (parent method not documented)

Parameters:

   $property  

[ Top ]

method __set [line 40]

void __set( $property, $value)



Overrides Functions::__set() (parent method not documented)

Parameters:

   $property  
   $value  

[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:09:10 +0200 by phpDocumentor 1.4.1