2017 © Pedro Peláez
 

yii2-extension yii2-graphitejs

Yii 2 Graphitejs widget

image

d4rkstar/yii2-graphitejs

Yii 2 Graphitejs widget

  • Monday, December 14, 2015
  • by d4rkstar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-graphitejs

This widget is a wrapper around GraphiteJS Jquery plugin., (*1)

GraphiteJS Plugin allow to easily make graphs and update them on the fly using Graphite's Render Url API., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Install

Either run, (*4)

$ php composer.phar require d4rkstar/yii2-graphitejs "dev-master"

or add, (*5)

"d4rkstar/yii2-graphitejs": "dev-master"

to the require section of your composer.json file., (*6)

Sample Usage



... 

= Graphitejs::widget([
        'options' => [
            'id'=>'serverLoadGraph',
        ],
        'pluginOptions'=>[
            'url'=>'http://localhost/render/',
            'from'=>'-24hours',
           // replace with your targets
           'target'=>[
               'server.load.load1', 
               'server.load.load5',
               'server.load.load15'
            ],
            'width'=>300,
            'height'=>300,
        ]
]);

?>

For more usage, look at GraphiteJS examples and Graphite's Render Url API., (*7)

The Versions

14/12 2015

dev-master

9999999-dev https://github.com/d4rkstar/yii2-graphitejs

Yii 2 Graphitejs widget

  Sources   Download

BSD-3-Clause

extension yii2 widget graphitejs