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

Class: Divide

Source Location: /functions/Divide.php

Class Overview

TeeBase
   |
   --Functions
      |
      --ManySeries
         |
         --Divide

Divide class


Author(s):

Version:

  • 1.0

Copyright:

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

Methods


Inherited Variables

Inherited Methods

Class: ManySeries

ManySeries::calculateMany()
Performs function operation on list of series (SourceSeriesList).
ManySeries::calculateValue()

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 27]
Divide class

Description: Divide Function

Example: $divideFunction = new Divide(); $divideFunction->setChart($myChart->getChart()); $divideFunction->setPeriod(0); //all points

$tmpArray = Array(); $tmpArray->add($barSeries1); $tmpArray->add($barSeries2); $lineSeries->setDataSource($tmpArray); $lineSeries->setFunction($divideFunction);




Tags:

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


[ Top ]


Class Methods


method calculateValue [line 45]

void calculateValue( $result, $value)



Tags:

access:  protected


Overrides ManySeries::calculateValue() (parent method not documented)

Parameters:

   $result  
   $value  

[ Top ]

method getDescription [line 55]

String getDescription( )

Gets descriptive text.



Tags:

access:  public


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

[ Top ]

method __get [line 31]

void __get( $property)



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

Parameters:

   $property  

[ Top ]

method __set [line 38]

void __set( $property, $value)



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

Parameters:

   $property  
   $value  

[ Top ]


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