Remove all the {{{ and }}} folding
This commit is contained in:
@@ -13,7 +13,6 @@ namespace Domframework;
|
||||
* ->height ($height) or ->width ($width) The heigh/width of the graph
|
||||
*/
|
||||
class Graph
|
||||
/* {{{ */
|
||||
{
|
||||
/** The X axis object
|
||||
*/
|
||||
@@ -388,11 +387,9 @@ class Graph
|
||||
return base64_encode (ob_get_clean());
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The series objects */
|
||||
class GraphSeries
|
||||
/* {{{ */
|
||||
{
|
||||
/** The series stored */
|
||||
private $series = array ();
|
||||
@@ -441,11 +438,9 @@ class GraphSeries
|
||||
unset ($this->series[$name]);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The serie object */
|
||||
class GraphSerie
|
||||
/* {{{ */
|
||||
{
|
||||
/** The name of the serie
|
||||
*/
|
||||
@@ -695,11 +690,9 @@ class GraphSerie
|
||||
$this->style->draw ($gd, $free, $this->data, $axisX, $axisY);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** Read the data */
|
||||
class GraphData
|
||||
/* {{{ */
|
||||
{
|
||||
/** Store the data when the user provided them. Store them in array form
|
||||
*/
|
||||
@@ -964,11 +957,9 @@ class GraphData
|
||||
return $series;
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graphTitle object */
|
||||
class GraphTitle
|
||||
/* {{{ */
|
||||
{
|
||||
/** The title text
|
||||
*/
|
||||
@@ -1092,11 +1083,9 @@ class GraphTitle
|
||||
intval ($free[2]), intval ($free[3]));
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graphLegend object */
|
||||
class GraphLegend
|
||||
/* {{{ */
|
||||
{
|
||||
/** Show the legend (no legend by default)
|
||||
*/
|
||||
@@ -1298,11 +1287,9 @@ class GraphLegend
|
||||
return $free;
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The general axis management */
|
||||
class GraphAxisGeneral
|
||||
/* {{{ */
|
||||
{
|
||||
/** The min value of the axis. Do not use it if the axis is composed of labels
|
||||
*/
|
||||
@@ -1692,11 +1679,9 @@ class GraphAxisGeneral
|
||||
}
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graph Axis Horizontal class */
|
||||
class GraphAxisHorizontal extends GraphAxisGeneral
|
||||
/* {{{ */
|
||||
{
|
||||
/** Calculate the position in pixels for a value
|
||||
* If the value is out of range, return null to not draw the point
|
||||
@@ -1776,11 +1761,9 @@ class GraphAxisHorizontal extends GraphAxisGeneral
|
||||
return intval ($this->left + $width * $pos + $width);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The X axis management */
|
||||
class GraphAxisX extends GraphAxisHorizontal
|
||||
/* {{{ */
|
||||
{
|
||||
/** The angle choosed to draw the graph
|
||||
*/
|
||||
@@ -1948,11 +1931,9 @@ class GraphAxisX extends GraphAxisHorizontal
|
||||
imageline ($gd, $position, $y, $position, $this->top, $gridColor);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** Manage the vertical axis */
|
||||
class GraphAxisVertical extends GraphAxisGeneral
|
||||
/* {{{ */
|
||||
{
|
||||
/** The angle choosed to draw the graph
|
||||
*/
|
||||
@@ -2128,11 +2109,9 @@ class GraphAxisVertical extends GraphAxisGeneral
|
||||
}
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The Y1 axis management */
|
||||
class GraphAxisY1 extends GraphAxisVertical
|
||||
/* {{{ */
|
||||
{
|
||||
/** Draw one value on the axis
|
||||
* @param resource $gd The resource to modify
|
||||
@@ -2206,11 +2185,9 @@ die ("graphAxisY1:: drawGrid NOT numerical line ".__LINE__."\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The Y2 axis management */
|
||||
class GraphAxisY2 extends GraphAxisVertical
|
||||
/* {{{ */
|
||||
{
|
||||
/** Draw one value on the axis
|
||||
* @param resource $gd The resource to modify
|
||||
@@ -2273,11 +2250,9 @@ die ("graphAxisY2:: drawOne NOT numerical line ".__LINE__."\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graphStyleLine : draw a graph with lines */
|
||||
class GraphStyleLinePoints
|
||||
/* {{{ */
|
||||
{
|
||||
/** The line color. To hide the lines, choose "transparent"
|
||||
*/
|
||||
@@ -2567,11 +2542,9 @@ class GraphStyleLinePoints
|
||||
$this->drawPoint ($gd, $x, $y);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graphStylePoints : draw a graph with points */
|
||||
class GraphStylePoints extends GraphStyleLinePoints
|
||||
/* {{{ */
|
||||
{
|
||||
/** The line color : transparent
|
||||
*/
|
||||
@@ -2583,11 +2556,9 @@ class GraphStylePoints extends GraphStyleLinePoints
|
||||
return "points";
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graphStyleLine : draw a graph with line */
|
||||
class GraphStyleLine extends GraphStyleLinePoints
|
||||
/* {{{ */
|
||||
{
|
||||
/** The point color background. To hide the points, choose "transparent"
|
||||
*/
|
||||
@@ -2603,11 +2574,9 @@ class GraphStyleLine extends GraphStyleLinePoints
|
||||
return "line";
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/** The graphPalette class */
|
||||
class GraphPalette
|
||||
/* {{{ */
|
||||
{
|
||||
/** Get the complete palette
|
||||
* @param string $name The palette name to get
|
||||
@@ -2633,4 +2602,3 @@ class GraphPalette
|
||||
return $palette[$name];
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user