Graphs and charts based on C3.js - fork

3.2.0 2020-11-20 23:01 UTC

This package is auto-updated.

Last update: 2021-11-21 01:35:10 UTC


README

Forked from Tlapnet/chart

Jakubandrysek Chart

Graphs and charts based on C3.js

Licence

Downloads this Month Downloads total Latest stable

Install

$ composer require jakubandrysek/chart

Versions

State Version Branch PHP
stable ^3.1.0 master >= 7.1
stable ^3.0.0 master >= 7.1
stable ^2.0.0 master >= 7.1
stable ^1.0.0 master >= 5.4

Changes

  • Add Basic chart Chart
  • Add RAW body to Pie chart, Donut chart, Basic chart

Example more in Documentation

use Jakubandrysek\Chart\DonutChart;

$chart = new DonutChart();
$chart->setTitle("15");
$chart->setValueSuffix(' pcs');

$chart->enableRaw();
$chart->addRaw(array(array("a", 1), array("b",2), array("c",3), array("d",12)));
echo $chart;

Overview

Maintainers

33494544?v=3&s=150
Jakub Andrýsek
538058?v=3&s=150
Milan Felix Šulc
20974277?s=400&v=4
Marek Bartoš