mch0lic / html_chart
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (v1.0) of this package.
HTML Chart
v1.0
2012-11-15 09:18 UTC
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2021-08-05 05:43:39 UTC
README
Simple html charts library for symfony2 (PSR-0 compliant). The library uses HTML table tag to represent statistics in horizontal bar format.
Prerequisites
This version of the library requires Symfony 2.0+.
Installation
Installation:
- Add dependency to deps file and update vendors
- Register HtmlCharts library in autoload.php file:
$loader->registerNamespaces(array( // Load chart libraries 'HtmlChart' => DIR.'/../vendor/HtmlChart/lib', ));
Usage exaple
<?php namespace Acme\DemoBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use HtmlChart\Chart; class DefaultController extends Controller { public function indexAction() { <..> $chart_instance = new Chart(); <..> } } ?>