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

Class: awSimpleLinePlot

Source Location: /class/system/artichow/php4/LinePlot.class.php

Class Overview

awComponent
   |
   --awPlot
      |
      --awSimpleLinePlot

Simple LinePlot Useful to draw simple horizontal lines


Variables

Methods


Inherited Variables

Inherited Methods

Class: awPlot

awPlot::awPlot()
Build the plot
awPlot::checkArray()
awPlot::createGrid()
awPlot::drawEnvelope()
awPlot::getLimit()
Return begin and end values
awPlot::getRealYMax()
Get max value with spaces for Y axis
awPlot::getRealYMin()
Get min value with spaces for Y axis
awPlot::getValues()
Get plot values
awPlot::getXAxis()
Get X axis
awPlot::getXAxisNumber()
Count values in the plot
awPlot::getXMax()
Get max value for X axis
awPlot::getXMin()
Get min value for X axis
awPlot::getYAxis()
Get Y axis
awPlot::getYMax()
Get max value for Y axis
awPlot::getYMin()
Get min value for Y axis
awPlot::init()
awPlot::reduce()
Reduce number of values in the plot
awPlot::setValues()
Change values of Y axis This method ignores not numeric values
awPlot::setXAxis()
Change X axis
awPlot::setXAxisZero()
Set X axis on zero
awPlot::setXMax()
Change max value for X axis Set NULL for auto selection.
awPlot::setXMin()
Change min value for X axis Set NULL for auto selection.
awPlot::setYAxis()
Change Y axis
awPlot::setYAxisZero()
Set Y axis on zero
awPlot::setYMax()
Change max value for Y axis Set NULL for auto selection.
awPlot::setYMin()
Change min value for Y axis Set NULL for auto selection.
awPlot::updateAxis()
Return TRUE if labels must be centered on X axis, FALSE otherwise

Class Details

[line 402]
Simple LinePlot Useful to draw simple horizontal lines



[ Top ]


Class Variables

$lineColor =

[line 409]

Line color


Type:   Color


[ Top ]

$lineMode =  LINEPLOT_LINE

[line 437]

Line mode


Type:   int


[ Top ]

$lineStart =

[line 416]

Line start


Type:   int


[ Top ]

$lineStop =

[line 423]

Line stop


Type:   int


[ Top ]

$lineStyle =  LINE_SOLID

[line 444]

Line type


Type:   int


[ Top ]

$lineThickness =  1

[line 451]

Line thickness


Type:   int


[ Top ]

$lineValue =

[line 430]

Line value


Type:   flaot


[ Top ]



Class Methods


constructor awSimpleLinePlot [line 475]

awSimpleLinePlot awSimpleLinePlot( float $value, int $start, int $stop, [int $mode = LINEPLOT_LINE])

Construct a new awLinePlot



Parameters:

float   $value   A Y value
int   $start   Line start index
int   $stop   Line stop index
int   $mode   Line mode

[ Top ]

method drawComponent [line 551]

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



Parameters:

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

[ Top ]

method getLegendBackground [line 543]

void getLegendBackground( )



[ Top ]

method getLegendLineColor [line 539]

Color getLegendLineColor( )

Get the color of line



[ Top ]

method getLegendLineStyle [line 530]

int getLegendLineStyle( )

Get the line type



[ Top ]

method getLegendLineThickness [line 521]

int getLegendLineThickness( )

Get the line thickness



[ Top ]

method getLegendMark [line 547]

void getLegendMark( )



[ Top ]

method getXAxisNumber [line 573]

void getXAxisNumber( )



Overrides awPlot::getXAxisNumber() (Count values in the plot)

[ Top ]

method getXCenter [line 586]

void getXCenter( )



[ Top ]

method setColor [line 494]

void setColor( $color $color)

Change line color



Parameters:

$color   $color  

[ Top ]

method setStyle [line 503]

void setStyle( int $style)

Change line style



Parameters:

int   $style  

[ Top ]

method setThickness [line 512]

void setThickness( int $tickness)

Change line tickness



Parameters:

int   $tickness  

[ Top ]

method xAxisPoint [line 581]

void xAxisPoint( $position)



Parameters:

   $position  

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:52:59 +0100 by phpDocumentor 1.4.1