linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awMathPlot

Source Location: /class/system/artichow/php5/MathPlot.class.php

Class Overview

awComponent
   |
   --awMathPlot

For mathematics functions


Variables

Methods



Class Details

[line 153]
For mathematics functions



[ Top ]


Class Variables

$functions = array()

[line 160]

Functions



Tags:

access:  protected

Type:   array


[ Top ]

$grid =

[line 167]

Grid properties



Tags:

access:  public

Type:   Grid


[ Top ]

$xAxis =

[line 174]

X axis



Tags:

access:  public

Type:   Axis


[ Top ]

$yAxis =

[line 181]

Y axis



Tags:

access:  public

Type:   Axis


[ Top ]



Class Methods


constructor __construct [line 205]

awMathPlot __construct( int $xMin, int $xMax, int $yMax, int $yMin)

Build the plot



Tags:

access:  public


Parameters:

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

[ Top ]

method add [line 260]

void add( awMathFunction $function, [string $name = NULL], [int $type = awLegend::LINE])

Add a formula f(x)



Tags:

access:  public


Parameters:

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

[ Top ]

method createGrid [line 408]

void createGrid( )



Tags:

access:  protected


[ Top ]

method drawComponent [line 340]

void drawComponent( awDriver $driver, $x1, $y1, $x2, $y2, $aliasing)



Tags:

access:  public


Parameters:

awDriver   $driver  
   $x1  
   $y1  
   $x2  
   $y2  
   $aliasing  

[ Top ]

method drawEnvelope [line 332]

void drawEnvelope( awDriver $driver)



Tags:

access:  public


Parameters:

awDriver   $driver  

[ Top ]

method init [line 270]

void init( awDriver $driver)



Tags:

access:  public


Parameters:

awDriver   $driver  

[ Top ]

method initAxis [line 232]

void initAxis( awAxis $axis)



Tags:

access:  protected


Parameters:

awAxis   $axis  

[ Top ]

method setInterval [line 249]

void setInterval( float $interval)

Interval to calculate values



Tags:

access:  public


Parameters:

float   $interval  

[ Top ]


Documentation generated on Thu, 03 May 2012 15:06:15 +0200 by phpDocumentor 1.4.1