Previous Up Next
Tag value Tags Xml2Pdf Tag point
Tag line

Tag line

How to use the tag line ?

Guillaume Luchet, guillaume@geelweb.org
Copyright © 2006, Guillaume Luchet
BSD License

Tag line

The tag line is used to add a line in a graph of type line.

Example :

  1. <!-- draw a lines graph -->
  2. <graph type='line' width='120' height='50' left='60' top='220' position='absolute' color='#0197cb' legend='' repere='10'>
  3.     <line legend='first_curve'>
  4.         <point x='0' y='10'/>
  5.         <point x='5' y='15'/>
  6.         <point x='10' y='22'/>
  7.         <point x='15' y='1'/>
  8.         <point x='20' y='12'/>
  9.         <point x='25' y='15'/>
  10.     </line>
  11.     <line legend='second_curve' color='#0197cb'>
  12.         <point x='0' y='17'/>
  13.         <point x='8' y='15'/>
  14.         <point x='12' y='5'/>
  15.         <point x='15' y='6'/>
  16.         <point x='20' y='12'/>
  17.         <point x='25' y='8'/>
  18.     </line>
  19. </graph>

the tag attributes are:

  • legend : curve name [string]

  • color : curve color [float]

Previous Up Next
Tag value Tags Xml2Pdf Tag point

Documentation generated on Wed, 11 Oct 2006 22:27:11 +0200 by phpDocumentor 1.3.0