Contents
Previous
Next
JpGraph library is an OO graph library which makes it easy to both
draw a "quick and dirty" graph with a minimum of code and quite complex
graphs which requires a very fine grain of control. The library tries
to assign sensible default values for most parameters hence making the
learning curve quite flat since for most of the time very few commands
is required to draw graphs with a pleasing esthetic look.
Some highlights of available features are
- Flexible scales, supports text-lin, text-log, lin-lin, lin-log,
log-lin and log-log and integer scales.
- Supports both PNG, GIF and JPG graphic formats. Note that the
available formats are dependent on the specific PHP installation where
the library is used.
- Supports caching of generated graphs to lessen burden of a HTTP
server.
- Supports batch mode to only generate images to a file
- Supports client side image maps which makes it easy to produce drill
down images.
- Intelligent auto-scaling which gravitates towards esthetic values,
i.e. multiples of 2:s and 5:s
- Fully supports manual scaling, with fine grain control of position
of ticks.
- Supports background images with different formatting options
- Supports color and brightness adjustments of images directly in PHP.
- User specified grace for auto-scaling
- Supports up to two different y-scale, it is possible to have
different left and right y-scale and add plots to both
- Supports, line-plots, filled line-plots, accumulated line-plots, bar
plots, accumulated bar plots, grouped bar plots, error plots, line
error plots, scatter plots, gantt-charts, radar plots, 2D and 3D pie
charts.
- Supports unlimited number of plots in each graph, makes it easy to
compose complex graph which consists of several plot types
- User specified position of axis
- Supports color gradient fill in seven styles
- Designed as a flexible OO framework which makes it easy to add new
types of plots
- Supports automatic legend generation
- Supports both vertical and horizontal grids
- Supports anti-aliasing of lines
- Supports background images as well as unlimited number of icons in
the graph
- Supports rotation of linear graphs
- More then 400 named colors
- Designed modularly - you don't have to include code which isn't used
- ...and many many more features
In addition to these high level features the library has been
designed to be orthogonal and consistent in its' naming convention. For
example, to specify color each object (i.e. axis, grids, texts, titles
etc) within the graph implements the method SetColor() with the same
signature.
Contents
Previous
Next