2017 © Pedro Peláez
 

library chartjs-bundle

Simple HTML5 charts using the canvas element.

image

andreybolonin/chartjs-bundle

Simple HTML5 charts using the canvas element.

  • Friday, August 15, 2014
  • by andreybolonin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 633 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 69 % Grown

The README.md

ChartjsBundle for Symfony2

Current Version

Chart.js 1.0.1-beta.3, (*1)

Installation

Add bundle to your composer.json file

``` js // composer.json, (*2)

{ "require": { // ... "andreybolonin/chartjs-bundle": "1.0.1.*@dev" } }, (*3)


### Add bundle to your application kernel ``` php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Andreybolonin\ChartjsBundle\AndreyboloninChartjsBundle(), // ... ); }

Download the bundle using Composer

``` bash $ php composer.phar update andreybolonin/chartjs-bundle, (*4)


### Install assets Given your server's public directory is named "web", install the public vendor resources ``` bash $ php app/console assets:install web

Optionally, use the --symlink attribute to create links rather than copies of the resources, (*5)

``` bash $ php app/console assets:install --symlink web, (*6)


## Usage Refer to the desired files in your HTML template, e.g. ``` html <script type="text/javascript" src="{{ asset('bundles/andreyboloninchartjs/js/Chart.min.js') }}"></script>

Licenses

Refer to the source code of the included files for license information, (*7)

References

  1. http://chartjs.org
  2. http://symfony.com

The Versions

15/08 2014

dev-master

9999999-dev http://andreybolonin.com

Simple HTML5 charts using the canvas element.

  Sources   Download

MIT

The Requires

 

by Andrey Bolonin

bundle chart js