highcharts-bundle

所属分类:collect
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2013-02-18 08:20:23
上 传 者sh-1993
说明:  [NOT MAINTAINED]将PHP Highcharts集成到Symfony2应用程序中,允许以编程方式创建Highchart,
([NOT MAINTAINED] Integrates PHP Highcharts into your Symfony2 application, which allows the programmatic creation of Highcharts,)

文件列表:
DependencyInjection/ (0, 2013-02-18)
DependencyInjection/Configuration.php (979, 2013-02-18)
DependencyInjection/MisdHighchartsExtension.php (1139, 2013-02-18)
Helper/ (0, 2013-02-18)
Helper/RendererHelper.php (2026, 2013-02-18)
MisdHighchartsBundle.php (587, 2013-02-18)
Resources/ (0, 2013-02-18)
Resources/config/ (0, 2013-02-18)
Resources/config/services.xml (1429, 2013-02-18)
Resources/meta/ (0, 2013-02-18)
Resources/meta/LICENSE (1074, 2013-02-18)
Twig/ (0, 2013-02-18)
Twig/Extension/ (0, 2013-02-18)
Twig/Extension/RendererTwigExtension.php (2037, 2013-02-18)
composer.json (949, 2013-02-18)

HighchartsBundle ================ *This bundle is currently under development.* This bundle integrates [PHP Highcharts](https://github.com/misd-service-development/php-highcharts) into your Symfony2 application, which allows the programmatic creation of [Highcharts](http://www.highcharts.com/). Authors ------- * Chris Wilkinson Requirements ------------ * [Highcharts](http://www.highcharts.com/) * [Symfony 2.1](http://symfony.com/) Installation ------------ 1. Add HighchartsBundle to your dependencies: // composer.json { // ... "require": { // ... "misd/highcharts-bundle": "dev-master" } } 2. Use Composer to download and install HighchartsBundle: $ php composer.phar update misd/highcharts-bundle 3. Register the bundle in your application: // app/AppKernel.php class AppKernel extends Kernel { // ... public function registerBundles() { $bundles = array( // ... new Misd\HighchartsBundle\MisdHighchartsBundle() ); } } Usage ----- ### Creating a chart See the [PHP Highcharts documentation](https://github.com/misd-service-development/php-highcharts) for details on how to create a chart object. ### Rendering a chart Use the service: $chart = $this->container->get('misd_highcharts.renderer')->render($chart); $container = $this->container->get('misd_highcharts.renderer')->renderContainer($chart); In a Twig template: {{ highcharts_render(chart) }} {{ highcharts_render_container(chart) }} In a PHP template: render($chart); ?> renderContainer($chart); ?> Reporting an issue or a feature request --------------------------------------- Issues and feature requests are tracked in the [Github issue tracker](https://github.com/misd-service-development/highcharts-bundle/issues).

近期下载者

相关文件


收藏者