PHP Classes

Libchart: Generate images with charts of several types

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 2,687 All time: 1,419 This week: 524Up
Version License Categories
libchart 1.0GNU Lesser Genera...Graphics, Libraries


This package can be use to generate graphical images with charts of several types.

There is one base chart class and several sub-classes for implementing charts of the types: bar, pie, horizontal and vertical bars, etc...

There are also auxiliary classes for drawing text labels and axis lines.

It uses PHP GD and FreeType library functions to render the image graphics.

Picture of Jean-Marc Trémeaux
Name: Jean-Marc Trémeaux <contact>
Classes: 1 package by
Country: France France
Age: ???
All time rank: 118139 in France France
Week rank: 246 Up8 in France France Up


Libchart - Simple PHP chart drawing library ============================================= Libchart is a free chart creation PHP library, that is easy to use. -------------------------------------------------------------------------------- Features ========== * Bar charts (horizontal or vertical). * Pie charts. * Compatibility with PHP 4 / PHP 5. -------------------------------------------------------------------------------- Dependencies ============== * PHP 4 or PHP 5, compiled with: * GD 2+ * FreeType 2+ -------------------------------------------------------------------------------- Installation ============== In order to use Libchart, unpack the archive in you project directory and include libchart.php. Please have a look at the demo files for more information. There is also a tutorial available at the project homepage. -------------------------------------------------------------------------------- Contact info ============== WWW: MAIL: jm.tremeaux at gmail dot com

  • sample1.png
  • sample2.png
  • sample3.png
  Files folder image Files  
File Role Description
Files folder imageclasses (8 files)
Files folder imageimages (1 file)
Plain text file libchart.php Class Main required file
Plain text file README Doc. Instructions

  Files folder image Files  /  classes  
File Role Description
  Plain text file Axis.php Class Axis formatter
  Plain text file BarChart.php Class Abstract class for bar charts
  Plain text file Chart.php Class Abstract chart class
  Plain text file HorizontalChart.php Class Horizontal bar chart
  Plain text file PieChart.php Class Pie chart
  Plain text file Point.php Class Point type
  Plain text file Text.php Class Text drawing helper
  Plain text file VerticalChart.php Class Vertical bar chart

  Files folder image Files  /  images  
File Role Description
  Image file PoweredBy.png Data Logo

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,419
This week:524Up
User Ratings User Comments (1)
 All time
14 years ago (kishore kumar)