jasonroman/flot-bundle
Composer 安装命令:
composer require jasonroman/flot-bundle
包简介
Jason Roman's Flot Bundle for Symfony2
关键字:
README 文档
README
This bundle requires (and loads) the jasonroman/flot package.
Installation
Add the bundle to your composer.json
{ "require": { "jasonroman/flot-bundle": "1.0.*@dev" } }
Register the bundle in app/AppKernel.php
$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);
统计信息
- 总下载量: 1.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-04-14