Collection of HowTo's

This is a collection of HowTo's for the library. This section will also be used to highlight and describe new features available in a release. It seems that many users do not like reading a thick manual so we hope that this more task oriented way of documenting will suit those who don't like thick manuals.

Current available HowTo's

  1. Combined graphs
    Explains how to use the MGraph class to combine several graphs in one image.
  2. Using manual ticks
    Explains how to use the manual ticks and label positioning by showing how to put a label at the start of each month on the X-axis.
  3. Greek characters
    Explains how to easily use mathematical and Greek characters on graphs.
  4. Multiple Y axes
    Explains how to add, in principle, unlimited number of Y-axis to a graph.
  5. Synchronized Y axes
    Explains how to create two (or more) synchronized Y-axes that are locked to each others scale, for example Fahrenheit vs. Celcius on each side.
  6. Adding new TTF fonts
    Explains how to manually add additional TTF fonts to be used with the library.
  7. Tables - Part I
    Explains how to add and use "excel-like" graphic tables within the graphs.
    Note: This is only available in the pro-version of the library.
  8. Tables - Part II
    Some case studies of the usage of tables.
    Note: This is only available in the pro-version of the library.
  9. USPS Confirmation Barcodes
    Explains how to print US Postal Services Confirmation Barcodes
    Note: This is only available in the pro-version of the library.
  10. Accumulated line plots with given X-labels
    Explains 1) how to create accumulated graphs with given X-labels and 2) explains how to interpolate missing data points

About

JpGraph is an Object-Oriented Graph creating library for PHP5 (>=5.1) and PHP7.0 The library is completely written in PHP and ready to be used in any PHP scripts (both CGI/APXS/CLI versions of PHP are supported).

Latest Pro-release

23 Feb: JpGraph-4.0.3-pro (4.0.3-pro)
fixed error of datamatrix

16 Dec: JpGraph-4.0.2-pro (4.0.2-pro)
Fixed plot bar's value positioning bug. Fixed bug of dmexception.

More Details

Latest Free-release

16 Dec: JpGraph-4.0.2 (4.0.2)
Fixed plot bar's value positioning bug.



09 Aug: JpGraph-4.0.1 (4.0.1)
Fixed displaying labels of y-axis



Download Page

Latest News

21 Jun: JpGraph-4.0.0 released
We are happy to announce that the new 4.0.0 release is available. This version supports PHP5 (>=...

07 Oct: JpGraph 3.5.0b1 released
We are happy to announce that the new 3.5.0b1 release is available. This is a beta release with a...

more