ChartLogix PHP Graphs

ChartLogix PHP Graphs

Released 4 years ago , Last update 4 years ago

Great looking charts, instant set up - Quick and easy classes to produce charts as JPEG or PNG.

Need a chart in your PHP site quickly?

This is a charting library in one self-contained PHP file, which can be placed directly in your htdocs or www directory.

Download contains commented source code for the charting library, plus many examples showing how to customise the colours, effects, axes, fonts.

Also incuded is HTML documentation with full function references.

--

![ChartLogix PHP Charts][1]

Features

This library already deals with the nitty-gritty details of laying out the graph and the text, rendering the axes, picking the best scale, and rendering gradients and smoothly anti-aliased shapes.

  • Bar graphs, pie charts, and line graphs.
  • Full customisation of layouts, fonts, colour schemes and visual effects.
  • Minimal installation requirements, so you can be up and running in minutes!
  • Included detailed documentation, examples and function reference.

It's simple to create a chart:

  • You make a PHP script which renders a graph and outputs it as an image.
  • Then you can use it's URL as the src for an img tag anywhere in your HTML to display the image.
4.5
  • 5 1
  • 4 1
  • 3 0
  • 2 0
  • 1 0
2 Reviews Read Reviews

Pricing

14 day 14-day money-back guarantee

$24.99

1 Site

  • Perpetual license

  • 1 site, unlimited servers

  • No distribution (hosted use only)

  • Commercial use

  • 6 months support

$44.99

Unlimited

  • Perpetual license

  • Unlimited sites, servers

  • No distribution (hosted use only)

  • Commercial use

  • 12 months support

Example

The PHP file mychart.php outputs an image (in this case a pie chart) :

<? 
  include( 'chartlogix.inc.php' ); 

  $pie = new PieChart(); 

  $pie->setTitle( "ChartLogix Pie Chart" ); 

  $pie->addData( 'Bananas', 420, 'FFCC00' ); 
  $pie->addData( 'Apples', 400, '99FF00' ); 
  $pie->addData( 'Strawberries', 210, 'FF6666' ); 
  $pie->addData( 'Grapes', 350, '009900' ); 
  $pie->addData( 'Plums', 100, '9900CC' ); 
  $pie->addData( 'Others', 190, 'AAAAAA' ); 

  $pie->drawPNG( 500, 400 ); 
?>

You can browse to this URL directly to view the image:

Draw pie and bar chart using php

To embed the image into pages, use an img tag:

<img src="mychart.php" width="500" height="400" />

Full documentation and plenty of examples are provided in the download - see the screenshots.

--

Included in the Download

chartlogix.inc.php

The library. Relies only on GD. Included are two default TrueType fonts.

Examples

Plenty of examples are provided.

  • Chart Types: Bar Graph, Stacked Bars, Line Graph, Pie Chart
  • Customising the axes - colours, fonts and multiple axes
  • Numbers, Dates, Strings on the X Axis
  • Graph title position and style
  • Gradients and effects

Function Reference

Full function reference (in HTML format) is provided as part of the download. This includes the parameters and return values of every public method of these classes:

The code is fully documented with PHPDoc comments.

Full Features

Bar & Line Graphs

These graphs can be overlayed onto the same image. Multiple series of bars on same graph - either stacked or side-by side

  • Automatic y-axis scaling and labeling
  • A variety of shading options
  • Versatile font, layout and sizing options
  • Automatic legend creation

Pie Charts

  • A variety of shading options
  • Versatile font, layout and sizing options
  • Automatic legend creation

Easy to install and use

  • Easy to install - all classes packaged into one PHP script which you can put anywhere on your Web site
  • Easy to use - be creating great looking charts in minutes!
  • No reliance on browser plugins such as Macromedia Flash or ActiveX objects
  • Full online documentation and examples

Flexible customisation

The ChartLogix classes allow you to create charts with minimal * work if you are happy with the default colour scheme and layout, however it is easy to customise the graphics.

  • Customise layout of image
  • Customise colour schemes & fonts
  • Tweak the spacing between the elements of the image if required
  • Interactive Designer to help speed up the process

High quality graphics

ChartLogix relies on the gd2 library (built in to PHP 4+) for drawing images but adds considerably to the quality of gd2's output by implementing it's own high-quality antialiasing and shading.

  • Pixel-perfect antialiasing
  • Gradients & shading
  • Truetype font support
  • PNG/JPEG Output to Web browser or file

--

3 licenses, starting from From » $24.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


Or enter your name and Email
  • D Didiergm 2 years ago
    Hi, I have a fairly specific need for the Line graph (in the sense that no many libraries provide this) - can the point on the line be individually drawn (shape and color ?) - Can I had a background image - or do I need to merge it using e.g. imageMagick ? - Once the perpetual licence ispurchased, how long till I receive the source code and am I free to alter it ? thanks in advance Didier
  • RB Rod Beckwith 2 years ago
    Is this code still supported?
    • RB Rod Beckwith 2 years ago
      I would like to purchase a dev license, but I want to see if the code is maintained or an orphan
    • CubeLogix Ltd Publisher 2 years ago
      Hi Rod, Yes this is still supported; and you receive full, easy to read source code with your purchase for ease of customization. Support is provided by e-mail or Skype.
  • RD Rebecca Dittman 3 years ago
    Can this script receive data from a mysql database?
    • JH james hudson 5 months ago
      Yes, This is what I do.