Login   Register  
PHP Classes
elePHPant
Icontem

File: piegraph.def

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Diogo Resende  >  CGraph  >  piegraph.def  >  Download  
File: piegraph.def
Role: Auxiliary data
Content type: text/plain
Description: definition of a pie chart graph
Class: CGraph
Draw pie charts, bar, line graphs from definitions
Author: By
Last change:
Date: 2004-04-19 11:29
Size: 400 bytes
 

Contents

Class file image Download
data {
  X=20
}

graph {
  padding-left   = 40
  padding-top    = 50
  padding-right  = 50
  padding-bottom = 20
  border-width = 1
  border-color = #ddd
  area-height = 250
  area-width = 350
  title = Pie Graph
}

legend {
  visible = yes
  floating = 1
  position = bottom right
  padding = 10
  data = [Item 1]
  color = [#274E78]
}
pie {
  total = 25
  offset = 70
}