2017 © Pedro Peláez
 

library yii2-jqplot

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

image

stekky81/yii2-jqplot

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  • Wednesday, October 19, 2016
  • by stekky81
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Yii2 jqPlot widget

This extension provides jqPlot integration for the Yii framework 2.0., (*1)

jqPlot is a plotting and charting plugin for the jQuery Javascript framework. jqPlot produces beautiful line, bar and pie charts with many features:, (*2)

  • Numerous chart style options.
  • Date axes with customizable formatting.
  • Up to 9 Y axes.
  • Rotated axis text.
  • Automatic trend line computation.
  • Tooltips and data point highlighting.
  • Sensible defaults for ease of use.

Computation and drawing of lines, axes, shadows even the grid itself is handled by pluggable "renderers". Not only are the plot elements customizable, plugins can expand functionality of the plot too! There are plenty of hooks into the core jqPlot code allowing for custom event handlers, creation of new plot types, adding canvases to the plot, and more!, (*3)

Numerous line style options with 6 built in marker styles! Horizontal and vertical Bar charts! Shadow control on lines, markers, the grid, everything!, (*4)

Drag and drop points with auto updating of data! Log Axes with flexible tick marks! Trend lines computed automatically!, (*5)

Installation

Package is available on Packagist, you can install it using Composer., (*6)

composer require sizeg/yii2-jqplot

Basic usage

echo JqPlot::widget([
    'data' => [[1, 2],[3,5.12],[5,13.1],[7,33.6],[9,85.9],[11,219.9]]
]);

The following example will render a bar chart:, (*7)

echo JqPlot::widget([
    'data' => [
        [2, 6, 7, 10],
        [7, 5, 3, 2],
        [14, 9, 3, 8],
    ],
    'clientOptions' => [
        'stackSeries' => true,
        'captureRightClick' => true,
        'seriesDefaults'  => [
            'renderer' => new JsExpression("$.jqplot.BarRenderer"),
            'rendererOptions' => [
                'highlightMouseDown' => true,
            ],
            'pointLabels' => [
                'show' => true,
            ],
        ],
        'legend' => [
            'show' => true,
            'location' => 'e',
            'placement' => 'outside',
        ]
    ]
]);

The Versions

19/10 2016

dev-master

9999999-dev

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  Sources   Download

The Requires

 

11/08 2016

v1.0.4

1.0.4.0

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  Sources   Download

The Requires

 

11/08 2016

v1.0.3

1.0.3.0

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  Sources   Download

The Requires

 

25/04 2016

v1.0.2

1.0.2.0

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  Sources   Download

The Requires

 

20/04 2016

v1.0.1

1.0.1.0

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires

20/04 2016

v1.0.0

1.0.0.0

Yii2 jqPlot widget renders charts and graphs based on jQuery Plotting Plugin

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires