[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 465 lignes (15 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Horde_Graph:: (21 méthodes):
Horde_Graph()
addPlot()
addChart()
addXData()
addYData()
get()
set()
display()
initialize()
draw()
drawBackground()
drawPlotBox()
drawGridX()
drawGridY()
drawTitle()
drawLabelsX()
drawLabelsY()
translate()
translateX()
translateY()
_findRange()
Classe: Horde_Graph - X-Ref
The Horde graphing suite.Horde_Graph($params) X-Ref |
Pas de description |
addPlot($plotType, $plotParams) X-Ref |
Pas de description |
addChart($chartType, $chartParams) X-Ref |
Pas de description |
addXData($data) X-Ref |
Pas de description |
addYData($data, $name = '') X-Ref |
Pas de description |
get($param) X-Ref |
Pas de description |
set($param, $value) X-Ref |
Pas de description |
display() X-Ref |
Cache the image and return a link to view it out of the cache. |
initialize($minY = false, $stepLabelsY = false) X-Ref |
Process all of the data sets and set graph properties. |
draw($display = true, $minY = false, $deltaLabelsY = false) X-Ref |
Pas de description |
drawBackground() X-Ref |
Pas de description |
drawPlotBox() X-Ref |
Draw a box around the plot area. |
drawGridX() X-Ref |
Draws grid lines from top to bottom on the image. |
drawGridY() X-Ref |
Draws grid lines from left to right on the image. |
drawTitle() X-Ref |
Draw the title. |
drawLabelsX() X-Ref |
Draws the axis tag text outside the plotting area on the x axis. |
drawLabelsY() X-Ref |
Draws the axis tag text outside the plotting area on the y axis. |
translate(&$x, &$y) X-Ref |
Take a pair of (x,y) graph coordinates and return the screen-pixel coordinates for them. param: float &$x The x position in world coordinates. param: float &$y The y position in world coordinates. |
translateX($x) X-Ref |
Translate the x coordinate of a point on the plot to screen coordinates. param: float $x The x world (plot) coordinate. |
translateY($y) X-Ref |
Translate the y coordinate of a point on the plot to screen coordinates. param: float $y The y world (plot) coordinate. |
_findRange($data, $min = 0, $max = 0, $resolution = 0) X-Ref |
Find the minimum and maximum values for a set of data. The $resolution variable is used for rounding maximum and minimum values. If maximum value is 8645 then: If $resolution is 0, then maximum value becomes 9000. If $resolution is 1, then maximum value becomes 8700. If $resolution is 2, then maximum value becomes 8650. If $resolution is 3, then maximum value becomes 8645. param: array $data The Dataset to find the range for. param: integer $min Minimum value to start at. The lowest number param: integer $max Maximum value to start at. The highest param: integer $resolution The resolution to use for the range. return: array The minimum and maximum values for the range. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |