Xml2PdfTag_graph<graph> tag.
The tag <graph> is used to draw graph in the document. The differents graph type are defined using plugins. For each graph type a plugin file must exist into the plugin grap path (define in the config file), it must be named xml2pdf_graph_mycustomgraphtype.php and must contain a class named xml2pdf_graph_mycustomgraphtype.
The existing plugins are :
Located in /plugins/tags/xml2pdf.tag.graph.php (line 46)
Xml2PdfTag | --Xml2PdfTag_graph
void
sector
(integer $xc, integer $yc, $r, integer $a, integer $b, [string $color = '#ffffff'], [string $style = 'FD'], [boolean $cw = true], [integer $o = 90])
string
$color
= null (line 71)
main color.
array
$colors
= array() (line 143)
values colors.
array
$data
= array() (line 149)
graph datas.
integer
$fontSize
= 8 (line 89)
font size.
float
$height
= 0 (line 107)
graph height.
float
$left
= 0 (line 119)
left margin.
string
$legendFormat
= '%l' (line 65)
legend format.
array
$legends
= array() (line 137)
values legends.
float
$legendWidth
= 0 (line 113)
legend width.
integer
$maxValRepere
= 0 (line 77)
max scale value.
string
$mode
= '2D' (line 59)
visual effect.
integer
$nbIndRepere
= 4 (line 83)
number of values of the scale.
integer
$nbVal
= 0 (line 95)
number of values.
float
$sum
= 0 (line 131)
sum of the graph values.
float
$top
= 0 (line 125)
top margin.
string
$type
= 'hbar' (line 53)
graph type.
float
$width
= 0 (line 101)
graph width.
Inherited from Xml2PdfTag
Xml2PdfTag::$content
Xml2PdfTag::$pdf
Constructor.
Draw a circle sector.
Draw an arc of circle
Build the graph using appropriate plugin.
Instantiate the plugin graph class to render the graph.
Inherited From Xml2PdfTag
Xml2PdfTag::__construct()
Xml2PdfTag::addContent()
Xml2PdfTag::close()
Documentation generated on Wed, 11 Oct 2006 22:27:22 +0200 by phpDocumentor 1.3.0