2017 © Pedro PelĂĄez
 

library phpopenchart

PHP library to draw Column, Bar, Line and Pie Charts

image

luismarto/phpopenchart

PHP library to draw Column, Bar, Line and Pie Charts

  • Monday, March 6, 2017
  • by luismarto
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 10 Versions
  • 143 % Grown

The README.md

PHP library to draw charts

Phpopenchart was based on Libchart and allows you to create charts using PHP. It's specially useful when you need to create charts on the server-side and so you can't use a front-end library such as Highcharts., (*1)

, (*2)

use Phpopenchart\Chart\Column;

$chart = new Column([
    'chart' => [
        'width' => 1000,
        'height' => 300,
    ],
    'title' => [
        'text' => 'Values'
    ],
    'dataset' => [
        'series' => ['Product A', 'Product B', 'Product C'],
        'labels' => ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
        'data' => [
            [3296, 4852, 2010, 6004, 5014, 7695],
            [2036, 1816, 687, 1025, 3074, 3651],
            [123, 984, 102, 707, 853, 696],
        ]
    ]
]);

$chart->render();

Documentation & examples

There's an extensive documentation here with all the available options, methods and datasets., (*3)

If you're looking for examples check the examples page for all the available options or the /tests/actual., (*4)

Installation

Require the package in your composer.json file and update composer, using the following data:, (*5)

"luismarto/phpopenchart": "3.*"

Roadmap

In a forseable future - Improve demo/examples section (display comparison between libchart and phpopenchart) - Make this easily integrated with Laravel, (*6)

License

This library is is based on the original work of Jean-Marc Trémeaux (check the original website). Also used the fork from Alexander Stehlik., (*7)

Phpopenchart is distributed under the terms of the GNU GPL v3. This includes everything in the source code distribution except where otherwise stated., (*8)

Third Party Content

The following third party software is distributed with Phpopenchart and is provided under other licenses and/or has source available from other locations., (*9)

Files in the fonts directory are distributed under their own licence, which is located under the fonts directory., (*10)

The Versions

06/03 2017

dev-develop

dev-develop https://geekalicious.pt/phpopenchart/

PHP library to draw Column, Bar, Line and Pie Charts

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

06/03 2017

3.0.2

3.0.2.0 https://geekalicious.pt/phpopenchart/

PHP library to draw Column, Bar, Line and Pie Charts

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

06/03 2017

dev-master

9999999-dev https://geekalicious.pt/phpopenchart/

PHP library to draw Column, Bar, Line and Pie Charts

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

05/03 2017

dev-geekalicious-docs

dev-geekalicious-docs

  Sources   Download

The Requires

 

05/02 2017

3.0.0

3.0.0.0 https://luismarto.github.io/docs/index.html

PHP library to draw Column, Bar, Line and Pie Charts

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

05/02 2017

2.2.0

2.2.0.0 http://naku.dohcrew.com/libchart/pages/introduction/

Simple PHP chart drawing library

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

29/08 2016

2.0.0

2.0.0.0 http://naku.dohcrew.com/libchart/pages/introduction/

Simple PHP chart drawing library

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

28/08 2016

1.5.0

1.5.0.0 http://naku.dohcrew.com/libchart/pages/introduction/

Simple PHP chart drawing library

  Sources   Download

GPL-3.0

The Requires

 

chart charts bar charts line charts pie charts

12/08 2016

1.4.1

1.4.1.0 http://naku.dohcrew.com/libchart/pages/introduction/

Simple PHP chart drawing library

  Sources   Download

GPL-3.0

chart charts bar charts line charts pie charts

20/10 2013

1.4.0

1.4.0.0 http://naku.dohcrew.com/libchart/pages/introduction/

Simple PHP chart drawing library

  Sources   Download

GPL-3.0

chart charts bar charts line charts pie charts