Draw pie charts, bar, line graphs from definitions
This package consists of one base class that provides common functionality to draw graphs and charts with a title, an axis, a scale and a legend. There are also other derived classes specialized in drawing pie charts, line or bar graphs.
The details of the different types of graphs are configured in separate configuration files to simplify the creation of new charts.
The graphs are outputted as true color images in the PNG format.
Wrapper around eBusiness charts generation service
This class provide a PHP interface to the eBusiness Charts generatation remote service.
The class takes several types of charts design and configuration parameters and outputs HTML that makes the charts appears on a local page embeding a chart image served remotely by the eBCharts service.
This class can be used to generate project planning and progress report Gantt charts.
It takes all the definitions of the chart details from associative arrays that are passed to the class constructor function.
The class supports the definition of details of project task groups, initial planned work, adjusted plan, real work done, progress (percentage done), milestones (products/objectives) and legend.
Several chart presentation details can be configured like the colors, row height, block height of blocks, where the blocks begin, text fonts, locale date formatting, legend titles, graphic scale (day, week or month), transparency of bars, lines (dependency) and icon (milestones).
The chart graphics are rendered using the PHP GD library functions. The charts are by default outputted in the PNG format, but can be also gif ou jpeg and saved to a file.