[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libs/artichow/php4/ -> MathPlot.class.php (sommaire)

(pas de description)

Poids: 439 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

awMathFunction:: (8 méthodes):
  awMathFunction()
  setColor()
  getColor()
  getLegendBackground()
  getLegendLineThickness()
  getLegendLineStyle()
  getLegendLineColor()
  getLegendMark()

awMathPlot:: (8 méthodes):
  awMathPlot()
  initAxis()
  setInterval()
  add()
  init()
  drawEnvelope()
  drawComponent()
  createGrid()


Classe: awMathFunction  - X-Ref

A mathematic function

awMathFunction($f, $fromX = NULL, $toX = NULL)   X-Ref
Construct the function

param: string $f Callback function
param: float $fromX
param: float $toX

setColor($color)   X-Ref
Change line color

param: $color A new awcolor

getColor()   X-Ref
Get line color

return: Color

getLegendBackground()   X-Ref
Get the background color or gradient of an element of the component

return: Color, Gradient

getLegendLineThickness()   X-Ref
Get the line thickness

return: NULL

getLegendLineStyle()   X-Ref
Get the line type

return: NULL

getLegendLineColor()   X-Ref
Get the color of line

return: NULL

getLegendMark()   X-Ref
Get a mark object

return: NULL

Classe: awMathPlot  - X-Ref

For mathematics functions

awMathPlot($xMin, $xMax, $yMax, $yMin)   X-Ref
Build the plot

param: int $xMin Minimum X value
param: int $xMax Maximum X value
param: int $yMax Maximum Y value
param: int $yMin Minimum Y value

initAxis(&$axis)   X-Ref
Pas de description

setInterval($interval)   X-Ref
Interval to calculate values

param: float $interval

add(&$function, $name = NULL, $type = LEGEND_LINE)   X-Ref
Add a formula f(x)

param: &$function
param: string $name Name for the legend (can be NULL if you don't want to set a legend)
param: int $type Type for the legend

init($drawer)   X-Ref
Pas de description

drawEnvelope($drawer)   X-Ref
Pas de description

drawComponent($drawer, $x1, $y1, $x2, $y2, $aliasing)   X-Ref
Pas de description

createGrid()   X-Ref
Pas de description



Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics