Graphs and charts based on C3.js - fork

3.2.0 2020-11-20 23:01 UTC

This package is auto-updated.

Last update: 2024-12-21 08:45:43 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

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