2017 © Pedro Peláez
 

symfony-bundle flot-bundle

Jason Roman's Flot Bundle for Symfony2

image

jasonroman/flot-bundle

Jason Roman's Flot Bundle for Symfony2

  • Tuesday, April 15, 2014
  • by jasonroman
  • Repository
  • 1 Watchers
  • 0 Stars
  • 996 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Jason Roman's Flot Bundle

This bundle requires (and loads) the jasonroman/flot package., (*1)

Installation

Add the bundle to your composer.json, (*2)

{
    "require": {
        "jasonroman/flot-bundle": "1.0.*@dev"
    }
}

Register the bundle in app/AppKernel.php, (*3)

$bundles = array(
    // ...
    new JasonRoman\Bundle\FlotBundle\JasonRomanFlotBundle(),
);

Usage

// convert to Flot JSON data from PHP arrays
$flotData = $this->container->get('jasonroman.flot')->convert($data);
$flotData = $this->container->get('jasonroman.flot')->convert($data, 'horizontal');
$flotData = $this->container->get('jasonroman.flot')->convert($data, 'vertical', $datetime = true);
$flotData = $this->container->get('jasonroman.flot')->convert($pieData);

The Versions

15/04 2014

dev-master

9999999-dev https://github.com/jasonroman/flot-bundle

Jason Roman's Flot Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

flot

15/04 2014

1.0

1.0.0.0 https://github.com/jasonroman/flot-bundle

Jason Roman's Flot Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

flot